@@ -67,7 +67,7 @@ |
||
67 | 67 | */ |
68 | 68 | public function getSorting() |
69 | 69 | { |
70 | - return $_ =& $this->input['sort']; |
|
70 | + return $_ = & $this->input['sort']; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | public function getSortingHiddenInputsHtml() |
@@ -27,7 +27,7 @@ |
||
27 | 27 | } else { |
28 | 28 | try { |
29 | 29 | return $this->src->{$fieldName}; |
30 | - } catch(Exception $e) { |
|
30 | + } catch (Exception $e) { |
|
31 | 31 | throw new RuntimeException( |
32 | 32 | "Can't read '$fieldName' property from DataRow" |
33 | 33 | ); |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** @var Nayjest\Grids\Components\Filter $component */ |
3 | 3 | ?> |
4 | -<?php if($component->getLabel()): ?> |
|
4 | +<?php if ($component->getLabel()): ?> |
|
5 | 5 | <span><?= $component->getLabel() ?></span> |
6 | 6 | <?php endif ?> |
7 | 7 | <input |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** @var Nayjest\Grids\Components\Filter $component */ |
3 | 3 | ?> |
4 | -<?php if($component->getLabel()): ?> |
|
4 | +<?php if ($component->getLabel()): ?> |
|
5 | 5 | <span><?= $component->getLabel() ?></span> |
6 | 6 | <?php endif ?> |
7 | 7 | <input |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $row = $this->getDataRow(); |
48 | 48 | $out = ''; |
49 | - foreach($this->grid->getConfig()->getColumns() as $column) { |
|
49 | + foreach ($this->grid->getConfig()->getColumns() as $column) { |
|
50 | 50 | $component = new TableCell($column); |
51 | 51 | $component->initialize($this->grid); |
52 | 52 | $component->setContent($column->getValue($row)); |