| 1 | <?php |
||
| 13 | class AttributeOptionReader extends EntityReader |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var AttributeRepository $repository |
||
| 17 | */ |
||
| 18 | protected $repository; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param EntityManager $em |
||
| 22 | * @param string $className |
||
| 23 | * @param AttributeRepository $repository |
||
| 24 | */ |
||
| 25 | public function __construct( |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getQuery() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Get the custom category repository |
||
| 51 | * @return AttributeRepository |
||
| 52 | */ |
||
| 53 | protected function getRepository() |
||
| 57 | } |
||
| 58 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..