We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class PropertyMetadata extends MemberMetadata |
||
| 12 | { |
||
| 13 | 10 | public function __construct(string $name) |
|
| 16 | 10 | } |
|
| 17 | |||
| 18 | /** |
||
| 19 | * @param $object |
||
| 20 | * |
||
| 21 | * @return ReflectionProperty |
||
| 22 | * |
||
| 23 | * @throws ReflectionException |
||
| 24 | */ |
||
| 25 | 10 | protected function newReflectionMember($object): ReflectionProperty |
|
| 26 | { |
||
| 27 | 10 | $member = new ReflectionProperty($object, $this->getName()); |
|
| 28 | 10 | $member->setAccessible(true); |
|
| 29 | |||
| 30 | 10 | return $member; |
|
| 31 | } |
||
| 32 | |||
| 33 | 10 | public function getPropertyValue($object) |
|
| 36 | } |
||
| 37 | } |
||
| 38 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.