Passed
Push — master ( 9f095d...ef3a04 )
by Petr
02:58
created
php-src/NestedSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@
 block discarded – undo
463 463
             $this->rebuildGeneratePositionData($array, $childNodeId, $p);
464 464
         }
465 465
 
466
-        usort($array[$id]->childrenIds, function (int $a, int $b) use ($array) {
466
+        usort($array[$id]->childrenIds, function(int $a, int $b) use ($array) {
467 467
             return $array[$a]->position <=> $array[$b]->position;
468 468
         });
469 469
     }
Please login to merge, or discard this patch.
php-src/Sources/PDO/MySql.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -402,7 +402,7 @@
 block discarded – undo
402 402
             return [];
403 403
         }
404 404
         if ($options->skipCurrent) {
405
-            unset($result[count($result)-1]);
405
+            unset($result[count($result) - 1]);
406 406
         }
407 407
 
408 408
         return $this->fromDbRows($result);
Please login to merge, or discard this patch.