Completed
Push — master ( c0739b...54ec6b )
by Alex
21s queued 14s
created
src/POData/ObjectModel/CynicSerialiser.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         $pageSize              = $this->getService()->getConfiguration()->getEntitySetPageSize(
137 137
             $this->getRequest()->getTargetResourceSetWrapper()->getResourceSet()
138 138
         );
139
-        $requestTop  = $this->getRequest()->getTopOptionCount() ?? PHP_INT_MAX ;
139
+        $requestTop = $this->getRequest()->getTopOptionCount() ?? PHP_INT_MAX;
140 140
         $entryObjects->hasMore &= $requestTop > $pageSize;
141 141
 
142 142
         $this->loadStackIfEmpty();
@@ -155,8 +155,7 @@  discard block
 block discarded – undo
155 155
                 $request->getIdentifier()
156 156
             ),
157 157
             $request->queryType == QueryType::ENTITIES_WITH_COUNT() ?
158
-                $request->getCountValue() :
159
-                null,
158
+                $request->getCountValue() : null,
160 159
             $entryObjects->hasMore ? new ODataLink(
161 160
                 ODataConstants::ATOM_LINK_NEXT_ATTRIBUTE_STRING,
162 161
                 null,
@@ -737,7 +736,7 @@  discard block
 block discarded – undo
737 736
             return false;
738 737
         }
739 738
 
740
-        return 0 == ($value % 4);
739
+        return 0 == ($value%4);
741 740
     }
742 741
 
743 742
     /**
@@ -868,7 +867,7 @@  discard block
 block discarded – undo
868 867
             ODataConstants::HTTPQUERY_STRING_EXPAND,
869 868
             ODataConstants::HTTPQUERY_STRING_ORDERBY,
870 869
             ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
871
-            ODataConstants::HTTPQUERY_STRING_SELECT,] as $queryOption) {
870
+            ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
872 871
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
873 872
             if (null !== $value) {
874 873
                 if (null !== $queryParameterString) {
Please login to merge, or discard this patch.