Passed
Pull Request — master (#263)
by Christopher
03:29
created
src/POData/ObjectModel/CynicSerialiser.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         $pageSize              = $this->getService()->getConfiguration()->getEntitySetPageSize(
135 135
             $this->getRequest()->getTargetResourceSetWrapper()->getResourceSet()
136 136
         );
137
-        $requestTop  = $this->getRequest()->getTopOptionCount() ?? PHP_INT_MAX ;
137
+        $requestTop = $this->getRequest()->getTopOptionCount() ?? PHP_INT_MAX;
138 138
         $entryObjects->hasMore &= $requestTop > $pageSize;
139 139
 
140 140
         $this->loadStackIfEmpty();
@@ -152,8 +152,7 @@  discard block
 block discarded – undo
152 152
                 $this->getRequest()->getIdentifier()
153 153
             ),
154 154
             $this->getRequest()->queryType == QueryType::ENTITIES_WITH_COUNT() ?
155
-                $this->getRequest()->getCountValue() :
156
-                null,
155
+                $this->getRequest()->getCountValue() : null,
157 156
             $entryObjects->hasMore ? new ODataLink(
158 157
                 ODataConstants::ATOM_LINK_NEXT_ATTRIBUTE_STRING,
159 158
                 null,
@@ -731,7 +730,7 @@  discard block
 block discarded – undo
731 730
             return false;
732 731
         }
733 732
 
734
-        return 0 == ($value % 4);
733
+        return 0 == ($value%4);
735 734
     }
736 735
 
737 736
     /**
@@ -862,7 +861,7 @@  discard block
 block discarded – undo
862 861
             ODataConstants::HTTPQUERY_STRING_EXPAND,
863 862
             ODataConstants::HTTPQUERY_STRING_ORDERBY,
864 863
             ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
865
-            ODataConstants::HTTPQUERY_STRING_SELECT,] as $queryOption) {
864
+            ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
866 865
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
867 866
             if (null !== $value) {
868 867
                 if (null !== $queryParameterString) {
Please login to merge, or discard this patch.