Passed
Pull Request — master (#244)
by Alex
22:10
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/Query/LaravelExpressionProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         };
59 59
         $this->functionDescriptionParsers[ODataConstants::STRFUN_ENDSWITH] = function ($params) {
60 60
             return '(strcmp(substr(' . $params[0] . ', strlen(' . $params[0] . ') - strlen(' . $params[1] . ')), '
61
-                   . $params[1] . ') === 0)';
61
+                    . $params[1] . ') === 0)';
62 62
         };
63 63
         $this->functionDescriptionParsers[ODataConstants::STRFUN_INDEXOF] = function ($params) {
64 64
             return 'strpos(' . $params[0] . ', ' . $params[1] . ')';
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
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $kVal     = $typeKind;
72 72
         if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) {
73 73
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
74
-                   . ' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
74
+                    . ' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
75 75
             throw new InvalidOperationException($msg);
76 76
         }
77 77
         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
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         $targClass = $resourceType->getInstanceType()->getName();
131 131
         if (!($res instanceof $targClass)) {
132 132
             $msg = 'Object being serialised not instance of expected class, '
133
-                   . $targClass . ', is actually ' . $payloadClass;
133
+                    . $targClass . ', is actually ' . $payloadClass;
134 134
             throw new InvalidOperationException($msg);
135 135
         }
136 136
 
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE() == $propKind
575 575
                   || ResourcePropertyKind::RESOURCE_REFERENCE() == $propKind)) {
576 576
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
577
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
577
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
578 578
                 throw new InvalidOperationException($msg);
579 579
             }
580 580
             $propTail             = ResourcePropertyKind::RESOURCE_REFERENCE() == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.