@@ -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; |
@@ -27,11 +27,11 @@ discard block |
||
27 | 27 | ->getMock(); |
28 | 28 | |
29 | 29 | $templateMock = $this->getMockBuilder(\Twig_TemplateInterface::class) |
30 | - ->disableOriginalConstructor() |
|
31 | - ->getMock(); |
|
30 | + ->disableOriginalConstructor() |
|
31 | + ->getMock(); |
|
32 | 32 | |
33 | 33 | $twig->expects($this->once())->method('loadTemplate') |
34 | - ->will($this->returnValue($templateMock)); |
|
34 | + ->will($this->returnValue($templateMock)); |
|
35 | 35 | |
36 | 36 | $renderer = new TwigRenderer($twig); |
37 | 37 | $renderer->render($mock); |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | ->getMock(); |
53 | 53 | |
54 | 54 | $templateMock = $this->getMockBuilder(\Twig_TemplateInterface::class) |
55 | - ->disableOriginalConstructor() |
|
56 | - ->getMock(); |
|
55 | + ->disableOriginalConstructor() |
|
56 | + ->getMock(); |
|
57 | 57 | |
58 | 58 | $twig->expects($this->once())->method('loadTemplate') |
59 | - ->will($this->returnValue($templateMock)); |
|
59 | + ->will($this->returnValue($templateMock)); |
|
60 | 60 | |
61 | 61 | $renderer = new TwigRenderer($twig); |
62 | 62 | $renderer->render($mock); |