| 1 | <?php |
||
| 14 | class MultipleRole extends AbstractFixture |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Role[] |
||
| 18 | */ |
||
| 19 | protected $roles; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Role |
||
| 23 | */ |
||
| 24 | protected $parent; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {inheritDoc} |
||
| 28 | */ |
||
| 29 | public function load(ObjectManager $manager) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return Role[] |
||
| 51 | */ |
||
| 52 | public function getRoles() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return Role |
||
| 59 | */ |
||
| 60 | public function getParent() |
||
| 64 | } |
||
| 65 |
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..