| 1 | <?php |
||
| 12 | class MorphMany extends MorphOneOrMany |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param AbstractQuery $query |
||
| 17 | */ |
||
| 18 | 1 | public function populateQuerySpecific(AbstractQuery $query) |
|
| 25 | |||
| 26 | /** @noinspection PhpMissingParentCallCommonInspection |
||
| 27 | * @inheritdoc |
||
| 28 | */ |
||
| 29 | 1 | public function populateEagerQueryFromFkList($query, $fkList) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @param Record $item |
||
| 38 | */ |
||
| 39 | 1 | public function saveResult(Record $item) |
|
| 45 | } |
||
| 46 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: