Passed
Pull Request — master (#26)
by butschster
02:08
created
src/Relation/Morphed/BelongsToMorphed.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.