| 1 | <?php |
||
| 14 | class DoctrineMigrationsCollection implements CheckCollectionInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * DI Container |
||
| 18 | * |
||
| 19 | * @var ContainerInterface |
||
| 20 | */ |
||
| 21 | private $container; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Available checks |
||
| 25 | * |
||
| 26 | * @var CheckInterface[] |
||
| 27 | */ |
||
| 28 | private $checks; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Migrations configuration service ids |
||
| 32 | * |
||
| 33 | * @var string[] |
||
| 34 | */ |
||
| 35 | private $migrations; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * DoctrineMigrationsCollection constructor. |
||
| 39 | * |
||
| 40 | * @param ContainerInterface $container DI container |
||
| 41 | * @param Configuration[] $migrations Migrations configuration service ids |
||
| 42 | */ |
||
| 43 | public function __construct( |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function getChecks() |
||
| 68 | } |
||
| 69 |
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..