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