@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | foreach ($items as $item) { |
403 | 403 | $rows[] = $row = new Row($this, $item, $this->getPrimaryKey()); |
404 | 404 | |
405 | - if (!$hasGroupActionOnRows && $row->hasGroupAction()){ |
|
405 | + if (!$hasGroupActionOnRows && $row->hasGroupAction()) { |
|
406 | 406 | $hasGroupActionOnRows = TRUE; |
407 | 407 | } |
408 | 408 | |
@@ -419,7 +419,7 @@ discard block |
||
419 | 419 | } |
420 | 420 | } |
421 | 421 | |
422 | - if ($hasGroupActionOnRows){ |
|
422 | + if ($hasGroupActionOnRows) { |
|
423 | 423 | $hasGroupActionOnRows = $this->hasGroupActions(); |
424 | 424 | } |
425 | 425 | |
@@ -2113,7 +2113,7 @@ discard block |
||
2113 | 2113 | /** |
2114 | 2114 | * @param $count |
2115 | 2115 | */ |
2116 | - public function setDefaultPerPage($count){ |
|
2116 | + public function setDefaultPerPage($count) { |
|
2117 | 2117 | $this->items_per_page_default = $count; |
2118 | 2118 | } |
2119 | 2119 | |
@@ -2775,7 +2775,7 @@ discard block |
||
2775 | 2775 | |
2776 | 2776 | if (!($parent instanceof PresenterComponent)) { |
2777 | 2777 | throw new DataGridHasToBeAttachedToPresenterComponentException( |
2778 | - "DataGrid is attached to: '" . get_class($parent) . "', but instance of PresenterComponent is needed." |
|
2778 | + "DataGrid is attached to: '".get_class($parent)."', but instance of PresenterComponent is needed." |
|
2779 | 2779 | ); |
2780 | 2780 | } |
2781 | 2781 |