Passed
Pull Request — master (#226)
by Christopher
07:03 queued 03:16
created
src/Models/ObjectMap/Entities/Associations/AssociationStubFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,10 +257,10 @@
 block discarded – undo
257 257
 
258 258
     private static $fieldOrderCache = [
259 259
         'BelongsTo' => ['foreignKey', 'ownerKey'],
260
-        'BelongsToMany' => ['parentKey','foreignPivotKey','relatedPivotKey','relatedKey'],
261
-        'HasOneOrMany' => ['localKey', 'foreignKey' ],
260
+        'BelongsToMany' => ['parentKey', 'foreignPivotKey', 'relatedPivotKey', 'relatedKey'],
261
+        'HasOneOrMany' => ['localKey', 'foreignKey'],
262 262
         'HasManyThrough' => ['localKey', 'firstKey', 'secondLocalKey', 'secondKey'],
263
-        'MorphToMany' => ['parentKey','foreignPivotKey','morphType', 'relatedPivotKey','relatedKey'],
263
+        'MorphToMany' => ['parentKey', 'foreignPivotKey', 'morphType', 'relatedPivotKey', 'relatedKey'],
264 264
         'MorphTo' => ['foreignKey', 'morphType', 'ownerKey'],
265 265
         'MorphOneOrMany' => ['localKey', 'morphType', 'foreignKey'],
266 266
     ];
Please login to merge, or discard this patch.
src/Models/IMetadataRelationshipContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      *
15 15
      * @param EntityGubbins $entity
16 16
      */
17
-    public function addEntity(EntityGubbins $entity): void ;
17
+    public function addEntity(EntityGubbins $entity): void;
18 18
 
19 19
     /**
20 20
      * returns all Relation Stubs that are permitted at the other end.
@@ -46,5 +46,5 @@  discard block
 block discarded – undo
46 46
      * @param  string $className
47 47
      * @return bool
48 48
      */
49
-    public function hasClass(string $className): bool ;
49
+    public function hasClass(string $className): bool;
50 50
 }
Please login to merge, or discard this patch.