Passed
Pull Request — master (#226)
by Christopher
03:55
created
src/Serialisers/SerialiseNextPageLinksTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 
137 137
         $topCountValue = $this->getRequest()->getTopOptionCount();
138 138
         if (null !== $topCountValue) {
139
-            $remainingCount = $topCountValue - $this->getRequest()->getTopCount();
139
+            $remainingCount = $topCountValue-$this->getRequest()->getTopCount();
140 140
             if (0 < $remainingCount) {
141 141
                 if (null !== $queryParameterString) {
142 142
                     $queryParameterString .= '&';
Please login to merge, or discard this patch.
src/Models/ObjectMap/Entities/Associations/AssociationStubBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,9 +293,9 @@
 block discarded – undo
293 293
             [$this->getBaseType() ?? '', $other->getBaseType() ?? ''],
294 294
             [$this->getRelationName() ?? '', $other->getRelationName() ?? ''],
295 295
         ];
296
-        foreach($cmps as $cmpvals){
296
+        foreach ($cmps as $cmpvals) {
297 297
             $cmp = strcmp($cmpvals[0], $cmpvals[1]);
298
-            if(0 !== $cmp){
298
+            if (0 !== $cmp) {
299 299
                 return $cmp / abs($cmp);
300 300
             }
301 301
         }
Please login to merge, or discard this patch.