1 | <?php declare(strict_types = 1); |
||
20 | class PropertyDefinition extends AbstractPropertyDefinition implements PropertyBuilderInterface |
||
21 | { |
||
22 | /** @var string Property name */ |
||
23 | protected $propertyName; |
||
24 | |||
25 | /** |
||
26 | * Define argument |
||
27 | * |
||
28 | * @param ReferenceInterface $dependency |
||
29 | * @return PropertyDefinition |
||
30 | */ |
||
31 | 1 | public function defineDependency(ReferenceInterface $dependency): PropertyDefinition |
|
37 | |||
38 | /** |
||
39 | * Get property metadata |
||
40 | * |
||
41 | * @param ClassMetadata $classMetadata |
||
42 | * @return PropertyMetadata |
||
43 | * @throws ReferenceNotImplementsException |
||
44 | */ |
||
45 | public function toPropertyMetadata(ClassMetadata $classMetadata): PropertyMetadata |
||
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getPropertyName(): string |
||
61 | |||
62 | /** |
||
63 | * @param string $propertyName |
||
64 | * @return AbstractPropertyDefinition |
||
65 | */ |
||
66 | 2 | public function setPropertyName(string $propertyName): AbstractPropertyDefinition |
|
72 | } |
||
73 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.