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