Passed
Push — master ( 07890b...2a1b1e )
by Afshin
02:34
created
bootstrap/app.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@
 block discarded – undo
17 17
 }
18 18
 $i=0;
19 19
 foreach($filesInConfig as $config_file){
20
-	if($config_file === 'phpmig.php'){continue;}
21
-	$file[$i] = include_once  __APP_ROOT__.'config/'.$config_file;
22
-	if(is_array($file[$i])){
23
-		$configs = array_merge($configs, $file[$i]);
24
-		$i++;
25
-	}
20
+    if($config_file === 'phpmig.php'){continue;}
21
+    $file[$i] = include_once  __APP_ROOT__.'config/'.$config_file;
22
+    if(is_array($file[$i])){
23
+        $configs = array_merge($configs, $file[$i]);
24
+        $i++;
25
+    }
26 26
 
27 27
 }
28 28
 
Please login to merge, or discard this patch.
core/Services/AuthService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
                 $_SESSION['user']['mobile'] = $user->mobile;
64 64
 
65 65
 
66
-               setcookie('user', [
67
-                  'user_id'=>$user->id,
68
-                  'mobile'=>$user->mobile,
69
-               ], time() + (86400 * 30), "/"); // 86400 = 1 day *30 => 30 day
66
+                setcookie('user', [
67
+                    'user_id'=>$user->id,
68
+                    'mobile'=>$user->mobile,
69
+                ], time() + (86400 * 30), "/"); // 86400 = 1 day *30 => 30 day
70 70
 
71 71
 
72 72
                 return [
Please login to merge, or discard this patch.