@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | $data['data'] = []; |
| 123 | 123 | $this->generateDataArray($versions, $filterTxt); |
| 124 | 124 | // Only count parent records for pagination |
| 125 | - $data['total'] = count(array_filter($this->dataArray, static function ($element) { |
|
| 125 | + $data['total'] = count(array_filter($this->dataArray, static function($element) { |
|
| 126 | 126 | return (int)($element[self::GridColumn_CollectionLevel] ?? 0) === 0; |
| 127 | 127 | })); |
| 128 | 128 | $data['data'] = $this->getDataArray($start, $limit); |
@@ -592,7 +592,7 @@ discard block |
||
| 592 | 592 | break; |
| 593 | 593 | default: |
| 594 | 594 | if (!$hasDiff) { |
| 595 | - $state = 'unchanged'; |
|
| 595 | + $state = 'unchanged'; |
|
| 596 | 596 | } else { |
| 597 | 597 | $state = ($hiddenState ?: 'modified'); |
| 598 | 598 | } |