Passed
Pull Request — master (#224)
by Christopher
06:33
created
src/Models/MetadataRelationsTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
     public function getRelationships()
36 36
     {
37 37
         return self::$relationNames = self::$relationNames ??
38
-                                      ModelReflectionHelper::getRelationshipsFromMethods(/* @scrutinizer ignore-type */$this);
38
+                                        ModelReflectionHelper::getRelationshipsFromMethods(/* @scrutinizer ignore-type */$this);
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Serialisers/SerialiserLowLevelWriters.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $kVal     = $typeKind;
69 69
         if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) {
70 70
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
71
-                   .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
71
+                    .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
72 72
             throw new InvalidOperationException($msg);
73 73
         }
74 74
         if (null == $result) {
Please login to merge, or discard this patch.
src/Serialisers/IronicSerialiser.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $targClass = $resourceType->getInstanceType()->getName();
129 129
         if (!($res instanceof $targClass)) {
130 130
             $msg = 'Object being serialised not instance of expected class, '
131
-                   . $targClass . ', is actually ' . $payloadClass;
131
+                    . $targClass . ', is actually ' . $payloadClass;
132 132
             throw new InvalidOperationException($msg);
133 133
         }
134 134
 
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind
573 573
                   || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) {
574 574
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
575
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
575
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
576 576
                 throw new InvalidOperationException($msg);
577 577
             }
578 578
             $propTail             = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.