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 | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class PropertyMetadata extends MemberMetadata |
||
| 16 | { |
||
| 17 | public function __construct(string $name) |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param $object |
||
| 24 | * @return ReflectionMethod|ReflectionProperty |
||
| 25 | * @throws ReflectionException |
||
| 26 | */ |
||
| 27 | protected function newReflectionMember($object) |
||
| 28 | { |
||
| 29 | $member = new ReflectionProperty($object, $this->getName()); |
||
| 30 | $member->setAccessible(true); |
||
| 31 | |||
| 32 | return $member; |
||
| 33 | } |
||
| 34 | |||
| 35 | |||
| 36 | public function getPropertyValue($object) |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
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.