Passed
Pull Request — master (#206)
by Alex
04:45
created
src/Serialisers/SerialiseLowLevelWritersTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         $kVal = $typeKind;
76 76
         if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) {
77 77
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
78
-                   .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
78
+                    .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
79 79
             throw new InvalidOperationException($msg);
80 80
         }
81 81
         if (null == $result) {
Please login to merge, or discard this patch.
src/Serialisers/SerialiseNextPageLinksTrait.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,10 +118,10 @@
 block discarded – undo
118 118
         /** @var string|null $queryParameterString */
119 119
         $queryParameterString = null;
120 120
         foreach ([ODataConstants::HTTPQUERY_STRING_FILTER,
121
-                     ODataConstants::HTTPQUERY_STRING_EXPAND,
122
-                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
123
-                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
124
-                     ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
121
+                        ODataConstants::HTTPQUERY_STRING_EXPAND,
122
+                        ODataConstants::HTTPQUERY_STRING_ORDERBY,
123
+                        ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
124
+                        ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
125 125
             /** @var string|null $value */
126 126
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
127 127
             if (null !== $value) {
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
 
@@ -667,7 +667,7 @@  discard block
 block discarded – undo
667 667
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind
668 668
                   || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) {
669 669
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
670
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
670
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
671 671
                 throw new InvalidOperationException($msg);
672 672
             }
673 673
             $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.