@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | 'target:primaryKey' => $outerKeys |
| 73 | 73 | ]); |
| 74 | 74 | |
| 75 | - $outerKeys = array_combine($outerKeys, (array)$this->options->get(Relation::INNER_KEY)); |
|
| 75 | + $outerKeys = array_combine($outerKeys, (array) $this->options->get(Relation::INNER_KEY)); |
|
| 76 | 76 | |
| 77 | 77 | // create target outer field |
| 78 | 78 | foreach ($outerKeys as $key => $morphKey) { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - foreach ((array)$this->options->get(Relation::MORPH_KEY) as $key) { |
|
| 89 | + foreach ((array) $this->options->get(Relation::MORPH_KEY) as $key) { |
|
| 90 | 90 | $this->ensureMorphField( |
| 91 | 91 | $source, |
| 92 | 92 | $key, |