Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Sep 16, 2024
1 parent 7783e08 commit 16dafad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stubs/ext/reflection/ReflectionProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,20 @@ public function getDefaultValue()
public function getAttributes(?string $name = null, int $flags = 0): array
{
}
#[\Since('8.4')]
public function hasHooks(): bool
{
}
/** @return array<string, ReflectionMethod> */
#[\Since('8.4')]
public function getHooks(): array
{
}
#[\Since('8.4')]
public function hasHook(PropertyHookType $type): bool
{
}
#[\Since('8.4')]
public function getHook(PropertyHookType $type): ?ReflectionMethod
{
}
Expand Down

0 comments on commit 16dafad

Please sign in to comment.