@@ -754,7 +754,7 @@ discard block |
||
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,10 +845,10 @@ discard block |
||
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 | - $pivotTable = $arr[$prefix.'table']; |
|
851 | + $pivotTable = $arr[$prefix . 'table']; |
|
852 | 852 | } |
853 | 853 | return 0 == count($pivotColumns) ? null : $pivotColumns; |
854 | 854 | } |