Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Aug 27, 2024
1 parent cf1c7ee commit 5a2c168
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions stubs/ext/reflection/ReflectionProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ public function isPrivate()
public function isProtected()
{
}
#[\Since('8.4')]
public function isPrivateSet(): bool
{
}
#[\Since('8.4')]
public function isProtectedSet(): bool
{
}
/**
* @tentative-return-type
* @return bool
Expand Down Expand Up @@ -226,4 +234,10 @@ public function getHook(PropertyHookType $type): ?ReflectionMethod
/** @cvalue ZEND_ACC_ABSTRACT */
#[\Since('8.4')]
public const int IS_ABSTRACT = UNKNOWN;
/** @cvalue ZEND_ACC_PROTECTED_SET */
#[\Since('8.4')]
public const int IS_PROTECTED_SET = UNKNOWN;
/** @cvalue ZEND_ACC_PRIVATE_SET */
#[\Since('8.4')]
public const int IS_PRIVATE_SET = UNKNOWN;
}

0 comments on commit 5a2c168

Please sign in to comment.