Skip to content

Commit

Permalink
Merge pull request #1258 from kukulich/properties
Browse files Browse the repository at this point in the history
Fixed return type of `ReflectionClass::getDefaultProperties()`
  • Loading branch information
Ocramius authored Sep 30, 2022
2 parents 4f9aa70 + fbecc59 commit 964ed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflection/ReflectionClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ public function hasProperty(string $name): bool
return $this->getProperty($name) !== null;
}

/** @return array<string, scalar|array<scalar>|null> */
/** @return array<non-empty-string, scalar|array<scalar>|null> */
public function getDefaultProperties(): array
{
return array_map(
Expand Down

0 comments on commit 964ed93

Please sign in to comment.