Passed
Pull Request — master (#181)
by Alex
06:13
created
src/Serialisers/IronicSerialiser.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         $targClass = $resourceType->getInstanceType()->getName();
190 190
         if (!($res instanceof $targClass)) {
191 191
             $msg = 'Object being serialised not instance of expected class, '
192
-                   . $targClass . ', is actually ' . $payloadClass;
192
+                    . $targClass . ', is actually ' . $payloadClass;
193 193
             throw new InvalidOperationException($msg);
194 194
         }
195 195
 
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind
246 246
                   || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) {
247 247
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
248
-                       .' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
248
+                        .' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
249 249
                 throw new InvalidOperationException($msg);
250 250
             }
251 251
             $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed';
@@ -862,10 +862,10 @@  discard block
 block discarded – undo
862 862
     {
863 863
         $queryParameterString = null;
864 864
         foreach ([ODataConstants::HTTPQUERY_STRING_FILTER,
865
-                     ODataConstants::HTTPQUERY_STRING_EXPAND,
866
-                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
867
-                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
868
-                     ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
865
+                        ODataConstants::HTTPQUERY_STRING_EXPAND,
866
+                        ODataConstants::HTTPQUERY_STRING_ORDERBY,
867
+                        ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
868
+                        ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
869 869
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
870 870
             if (null !== $value) {
871 871
                 if (null !== $queryParameterString) {
@@ -1066,7 +1066,7 @@  discard block
 block discarded – undo
1066 1066
         $kVal = $typeKind->getValue();
1067 1067
         if (!(ResourceTypeKind::PRIMITIVE()->getValue() == $kVal || ResourceTypeKind::COMPLEX()->getValue() == $kVal)) {
1068 1068
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
1069
-                   .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
1069
+                    .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
1070 1070
             throw new InvalidOperationException($msg);
1071 1071
         }
1072 1072
         if (null == $result) {
Please login to merge, or discard this patch.