Completed
Pull Request — master (#222)
by
unknown
03:00
created
src/DataGrid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
398 398
 			}
399 399
 		}
400 400
 
401
-		if($hasGroupActionOnRows){
401
+		if ($hasGroupActionOnRows) {
402 402
 			$hasGroupActionOnRows = $this->hasGroupActions();
403 403
 		}
404 404
 
@@ -2704,7 +2704,7 @@  discard block
 block discarded – undo
2704 2704
 
2705 2705
 		if (!($parent instanceof PresenterComponent)) {
2706 2706
 			throw new DataGridHasToBeAttachedToPresenterComponentException(
2707
-				"DataGrid is attached to: '" . get_class($parent) . "', but instance of PresenterComponent is needed."
2707
+				"DataGrid is attached to: '".get_class($parent)."', but instance of PresenterComponent is needed."
2708 2708
 			);
2709 2709
 		}
2710 2710
 
Please login to merge, or discard this patch.