@@ -121,7 +121,7 @@ discard block |
||
| 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 |
||
| 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 | } |