@@ -12,9 +12,9 @@ |
||
| 12 | 12 | $jsonVars = []; |
| 13 | 13 | $jsonVars['recordsTotal'] = $table->getUnfilteredCount(); |
| 14 | 14 | $filterCount = $table->getFilteredCount(); |
| 15 | - $jsonVars['recordsFiltered'] = $filterCount!==false ? $filterCount : $jsonVars['recordsTotal']; |
|
| 15 | + $jsonVars['recordsFiltered'] = $filterCount !== false ? $filterCount : $jsonVars['recordsTotal']; |
|
| 16 | 16 | $jsonVars['data'] = array_map( |
| 17 | - function ($item) { |
|
| 17 | + function($item) { |
|
| 18 | 18 | $t = []; |
| 19 | 19 | foreach ($item as $k => $v) { |
| 20 | 20 | $t[] = $v; |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | $mock->expects($this->once()) |
| 44 | 44 | ->method('getOptions') |
| 45 | - ->will($this->returnValue(array_merge(['has_filter_form'=>false],$options))); |
|
| 45 | + ->will($this->returnValue(array_merge(['has_filter_form'=>false], $options))); |
|
| 46 | 46 | |
| 47 | 47 | return $mock; |
| 48 | 48 | } |