Passed
Push — master ( 75ec53...0424dc )
by Iman
04:49
created
src/Modules/SettingModule/SettingRepo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 {
7 7
     public static function getSetting($name)
8 8
     {
9
-        return cache()->rememberForever('crudbooster_setting_'.$name, function () use($name) {
9
+        return cache()->rememberForever('crudbooster_setting_'.$name, function() use($name) {
10 10
             return self::table()->where('name', $name)->first()->content;
11 11
         });
12 12
     }
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
         foreach ($data as $row) {
17 17
             $count = self::table()->where('name', $row['name'])->count();
18
-            if (! $count) {
18
+            if (!$count) {
19 19
                 self::table()->insert($row);
20 20
                 continue;
21 21
             }
Please login to merge, or discard this patch.
src/Modules/AuthModule/AuthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 
78 78
     private function validateForgotPass()
79 79
     {
80
-        $validator = \Validator::make(request()->all(), ['email' => 'required|email|exists:cms_users',]);
80
+        $validator = \Validator::make(request()->all(), ['email' => 'required|email|exists:cms_users', ]);
81 81
 
82 82
         if ($validator->fails()) {
83 83
             $message = $validator->errors()->all();
Please login to merge, or discard this patch.