Passed
Pull Request — master (#1574)
by
unknown
06:56 queued 02:51
created
src/helpers/SidebarMenus.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
             $model->setName($menu->name);
40 40
             $model->setBasepath(config('crudbooster.ADMIN_PATH').'/'.basename($model->getUrl()));
41 41
         } else {
42
-			$model->setUrl($menu->path);
42
+            $model->setUrl($menu->path);
43 43
             $model->setIcon($menu->icon);
44 44
             $model->setName($menu->name);
45
-		}
45
+        }
46 46
 
47 47
         if(request()->is($model->getBasepath()."*")) {
48 48
             $model->setIsActive(true);
Please login to merge, or discard this patch.
src/types/date/Hook.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
 
29 29
     public function assignment($value, $column)
30 30
     {
31
-		if($column->getFormat()) {
32
-			return date_create_from_format($column->getFormat(), $value)->format('Y-m-d');
33
-		} else {
34
-			return $value;
35
-		}
31
+        if($column->getFormat()) {
32
+            return date_create_from_format($column->getFormat(), $value)->format('Y-m-d');
33
+        } else {
34
+            return $value;
35
+        }
36 36
     }
37 37
     
38 38
     public function detailRender($row, $column)
Please login to merge, or discard this patch.
src/types/datetime/Hook.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
 
30 30
     public function assignment($value, $column)
31 31
     {
32
-		if($column->getFormat()) {
33
-			return date_create_from_format($column->getFormat(), $value)->format('Y-m-d H:i:s');
34
-		} else {
35
-			return $value;
36
-		}
32
+        if($column->getFormat()) {
33
+            return date_create_from_format($column->getFormat(), $value)->format('Y-m-d H:i:s');
34
+        } else {
35
+            return $value;
36
+        }
37 37
     }
38 38
     
39 39
     public function detailRender($row, $column)
Please login to merge, or discard this patch.