@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | foreach ($items as $item) { |
390 | 390 | $rows[] = $row = new Row($this, $item, $this->getPrimaryKey()); |
391 | 391 | |
392 | - if(!$hasGroupActionOnRows && $row->hasGroupAction()){ |
|
392 | + if (!$hasGroupActionOnRows && $row->hasGroupAction()) { |
|
393 | 393 | $hasGroupActionOnRows = TRUE; |
394 | 394 | } |
395 | 395 | |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | } |
399 | 399 | } |
400 | 400 | |
401 | - if($hasGroupActionOnRows){ |
|
401 | + if ($hasGroupActionOnRows) { |
|
402 | 402 | $hasGroupActionOnRows = $this->hasGroupActions(); |
403 | 403 | } |
404 | 404 | |
@@ -1519,7 +1519,7 @@ discard block |
||
1519 | 1519 | */ |
1520 | 1520 | if (empty($this->sort_callback) && !empty($this->sort)) { |
1521 | 1521 | foreach ($this->sort as $key => $order) { |
1522 | - if(!isset($this->columns[$key])){ |
|
1522 | + if (!isset($this->columns[$key])) { |
|
1523 | 1523 | continue; |
1524 | 1524 | } |
1525 | 1525 | $column = $this->getColumn($key); |
@@ -2707,7 +2707,7 @@ discard block |
||
2707 | 2707 | |
2708 | 2708 | if (!($parent instanceof PresenterComponent)) { |
2709 | 2709 | throw new DataGridHasToBeAttachedToPresenterComponentException( |
2710 | - "DataGrid is attached to: '" . get_class($parent) . "', but instance of PresenterComponent is needed." |
|
2710 | + "DataGrid is attached to: '".get_class($parent)."', but instance of PresenterComponent is needed." |
|
2711 | 2711 | ); |
2712 | 2712 | } |
2713 | 2713 |