Passed
Pull Request — master (#154)
by Alex
06:27
created
src/Models/MetadataTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -754,7 +754,7 @@  discard block
 block discarded – undo
754 754
                     assert($stub->isOk(), 'Generated stub not consistent');
755 755
                     $stubs[$property] = $stub;
756 756
                     if (null !== $relGubbins['pivot']) {
757
-                        $fieldName = 'pivot_'.$relGubbins['property'];
757
+                        $fieldName = 'pivot_' . $relGubbins['property'];
758 758
                         $nuField = new EntityField();
759 759
                         $nuField->setName($fieldName);
760 760
                         $nuField->setFieldType(EntityFieldType::COMPLEX());
@@ -845,7 +845,7 @@  discard block
 block discarded – undo
845 845
     {
846 846
         $pivotColumns = null;
847 847
         if ($foo instanceof BelongsToMany) {
848
-            $arr = ((array)$foo);
848
+            $arr = ((array) $foo);
849 849
             $prefix = chr(0) . '*' . chr(0);
850 850
             $pivotColumns = $arr[$prefix . 'pivotColumns'];
851 851
         }
Please login to merge, or discard this patch.