Skip to content

Commit

Permalink
Add stub for reflection property isReadOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Hargreaves committed Oct 16, 2022
1 parent ea39a6e commit 45bb58e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stubs/Reflection.phpstub
Expand Up @@ -98,6 +98,11 @@ class ReflectionProperty implements Reflector
* @since 8.0
*/
public function isPromoted(): bool {}

/**
* @since 8.1
*/
public function isReadOnly(): bool {}
}

class ReflectionMethod implements Reflector
Expand Down

0 comments on commit 45bb58e

Please sign in to comment.