| 1 | <?php |
||
| 10 | class GetterStrategy implements ExtractionStrategyInterface |
||
| 11 | { |
||
| 12 | private $getter; |
||
| 13 | |||
| 14 | 5 | public function __construct() |
|
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | 5 | public function supports($object, string $property): bool |
|
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | 3 | public function extract($object, string $property) |
|
| 48 | } |
||
| 49 |
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.