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 | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class PropertyMetadata extends MemberMetadata |
||
| 13 | { |
||
| 14 | 10 | public function __construct(string $name) |
|
| 17 | 10 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @param $object |
||
| 21 | * |
||
| 22 | * @return ReflectionMethod|ReflectionProperty |
||
| 23 | * |
||
| 24 | * @throws ReflectionException |
||
| 25 | */ |
||
| 26 | 10 | protected function newReflectionMember($object) |
|
| 27 | { |
||
| 28 | 10 | $member = new ReflectionProperty($object, $this->getName()); |
|
| 29 | 10 | $member->setAccessible(true); |
|
| 30 | |||
| 31 | 10 | return $member; |
|
| 32 | } |
||
| 33 | |||
| 34 | 10 | public function getPropertyValue($object) |
|
| 37 | } |
||
| 38 | } |
||
| 39 |
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.