Passed
Pull Request — master (#204)
by Alex
04:35
created
src/Serialisers/SerialiseDepWrapperTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-    * @return IMetadataProvider
114
-    */
113
+     * @return IMetadataProvider
114
+     */
115 115
     protected function getMetadata()
116 116
     {
117 117
         if (null == $this->metaProvider) {
Please login to merge, or discard this patch.
src/Serialisers/IronicSerialiser.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         $targClass = $resourceType->getInstanceType()->getName();
152 152
         if (!($res instanceof $targClass)) {
153 153
             $msg = 'Object being serialised not instance of expected class, '
154
-                   . $targClass . ', is actually ' . $payloadClass;
154
+                    . $targClass . ', is actually ' . $payloadClass;
155 155
             throw new InvalidOperationException($msg);
156 156
         }
157 157
 
@@ -748,10 +748,10 @@  discard block
 block discarded – undo
748 748
         /** @var string|null $queryParameterString */
749 749
         $queryParameterString = null;
750 750
         foreach ([ODataConstants::HTTPQUERY_STRING_FILTER,
751
-                     ODataConstants::HTTPQUERY_STRING_EXPAND,
752
-                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
753
-                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
754
-                     ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
751
+                        ODataConstants::HTTPQUERY_STRING_EXPAND,
752
+                        ODataConstants::HTTPQUERY_STRING_ORDERBY,
753
+                        ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
754
+                        ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
755 755
             /** @var string|null $value */
756 756
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
757 757
             if (null !== $value) {
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
         $kVal = $typeKind;
954 954
         if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) {
955 955
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
956
-                   .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
956
+                    .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
957 957
             throw new InvalidOperationException($msg);
958 958
         }
959 959
         if (null == $result) {
@@ -1106,7 +1106,7 @@  discard block
 block discarded – undo
1106 1106
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind
1107 1107
                   || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) {
1108 1108
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
1109
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
1109
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
1110 1110
                 throw new InvalidOperationException($msg);
1111 1111
             }
1112 1112
             $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.