We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 4 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function with($injectables) |
||
| 25 | { |
||
| 26 | if (is_string($injectables)) { |
||
| 27 | $this->requiredInjectables[] = 'with'.ucwords($injectables); |
||
| 28 | } elseif (is_array($injectables)) { |
||
| 29 | foreach ($injectables as $injectable) { |
||
| 30 | $this->requiredInjectables = 'with'.ucwords($injectable); |
||
|
|
|||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 34 | return $this->inject(); |
||
| 35 | } |
||
| 36 | |||
| 51 |
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..