Completed
Pull Request — master (#224)
by
unknown
03:06
created
src/DataGrid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1508,7 +1508,7 @@  discard block
 block discarded – undo
1508 1508
 		 */
1509 1509
 		if (empty($this->sort_callback) && !empty($this->sort)) {
1510 1510
 			foreach ($this->sort as $key => $order) {
1511
-				if(!isset($this->columns[$key])){
1511
+				if (!isset($this->columns[$key])) {
1512 1512
 					continue;
1513 1513
 				}
1514 1514
 				$column = $this->getColumn($key);
@@ -2696,7 +2696,7 @@  discard block
 block discarded – undo
2696 2696
 
2697 2697
 		if (!($parent instanceof PresenterComponent)) {
2698 2698
 			throw new DataGridHasToBeAttachedToPresenterComponentException(
2699
-				"DataGrid is attached to: '" . get_class($parent) . "', but instance of PresenterComponent is needed."
2699
+				"DataGrid is attached to: '".get_class($parent)."', but instance of PresenterComponent is needed."
2700 2700
 			);
2701 2701
 		}
2702 2702
 
Please login to merge, or discard this patch.