Passed
Push — master ( 881906...7258b5 )
by
unknown
50:39 queued 33:57
created
typo3/sysext/workspaces/Classes/Service/GridDataService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->generateDataArray($versions, $filterTxt);
122 122
         return [
123 123
             // Only count parent records for pagination
124
-            'total' => count(array_filter($this->dataArray, static function ($element) {
124
+            'total' => count(array_filter($this->dataArray, static function($element) {
125 125
                 return (int)($element[self::GridColumn_CollectionLevel] ?? 0) === 0;
126 126
             })),
127 127
             'data' =>  $this->getDataArray($start, $limit)
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
                 break;
592 592
             default:
593 593
                 if (!$hasDiff) {
594
-                    $state =  'unchanged';
594
+                    $state = 'unchanged';
595 595
                 } else {
596 596
                     $state = ($hiddenState ?: 'modified');
597 597
                 }
Please login to merge, or discard this patch.