Completed
Pull Request — master (#267)
by
unknown
03:32
created
src/DataGrid.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2867,12 +2867,12 @@
 block discarded – undo
2867 2867
 	 */
2868 2868
 	public function getColumns()
2869 2869
 	{
2870
-        $columnManipulated = !$this->getSessionData('_grid_hidden_columns_manipulated', FALSE);
2870
+		$columnManipulated = !$this->getSessionData('_grid_hidden_columns_manipulated', FALSE);
2871 2871
 		if ($columnManipulated)
2872 2872
 			$columns_to_hide = [];
2873 2873
 		
2874 2874
 		foreach ($this->columns as $key => $column) {
2875
-            if ($columnManipulated) 
2875
+			if ($columnManipulated) 
2876 2876
 				if ($column->getDefaultHide()) 
2877 2877
 					$columns_to_hide[] = $key;
2878 2878
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2868,13 +2868,15 @@
 block discarded – undo
2868 2868
 	public function getColumns()
2869 2869
 	{
2870 2870
         $columnManipulated = !$this->getSessionData('_grid_hidden_columns_manipulated', FALSE);
2871
-		if ($columnManipulated)
2872
-			$columns_to_hide = [];
2871
+		if ($columnManipulated) {
2872
+					$columns_to_hide = [];
2873
+		}
2873 2874
 		
2874 2875
 		foreach ($this->columns as $key => $column) {
2875
-            if ($columnManipulated) 
2876
-				if ($column->getDefaultHide()) 
2876
+            if ($columnManipulated) {
2877
+            				if ($column->getDefaultHide()) 
2877 2878
 					$columns_to_hide[] = $key;
2879
+            }
2878 2880
 
2879 2881
 			$this->columns_visibility[$key] = [
2880 2882
 				'visible' => TRUE,
Please login to merge, or discard this patch.