Passed
Branch develop (995037)
by Ajit
05:32
created
app/Setting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
18 18
 	// Issue to be fixed
19 19
 	 public function scopeValue($query)
20 20
 	 {
21
-	 	return $query->where('value','=','xyz')->pluck('key');
21
+	 	return $query->where('value', '=', 'xyz')->pluck('key');
22 22
 	 }
23 23
 }
24 24
\ No newline at end of file
Please login to merge, or discard this patch.
app/User.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @var array
32 32
      */
33
-    protected $fillable = ['name', 'email', 'password','status'];
33
+    protected $fillable = ['name', 'email', 'password', 'status'];
34 34
 
35 35
     /**
36 36
      * The attributes excluded from the model's JSON form.
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (Auth::User()->id != 1) 
57 57
         {
58
-            return $query->where('status','!=', \constStatus::Archive)->where('id','!=',1);
58
+            return $query->where('status', '!=', \constStatus::Archive)->where('id', '!=', 1);
59 59
         }
60 60
 
61
-        return $query->where('status','!=', \constStatus::Archive);
61
+        return $query->where('status', '!=', \constStatus::Archive);
62 62
     }
63 63
 
64 64
     public function Role_user()
Please login to merge, or discard this patch.