| Conditions | 3 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | public function getChecks() |
||
| 55 | { |
||
| 56 | if ($this->checks === null) { |
||
| 57 | $this->checks = []; |
||
| 58 | foreach ($this->migrations as $key => $migration) { |
||
| 59 | $check = new ZendDoctrineMigration($this->container->get($migration)); |
||
| 60 | $check->setLabel(sprintf('Doctrine migrations "%s"', $key)); |
||
| 61 | |||
| 62 | $this->checks[$key] = $check; |
||
| 63 | } |
||
| 64 | } |
||
| 65 | |||
| 66 | return $this->checks; |
||
| 67 | } |
||
| 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..