Passed
Branch develop (995037)
by Ajit
05:32
created
app/Setting.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -6,18 +6,18 @@
 block discarded – undo
6 6
 
7 7
 class Setting extends Model
8 8
 {
9
-	 protected $table = 'trn_settings';
9
+        protected $table = 'trn_settings';
10 10
 
11
-	 protected $fillable = [
12
-	 		'key',
13
-	 		'value',
14
-	 ];
11
+        protected $fillable = [
12
+                'key',
13
+                'value',
14
+        ];
15 15
 
16
-	 const CREATED_AT = null;
16
+        const CREATED_AT = null;
17 17
 
18
-	// Issue to be fixed
19
-	 public function scopeValue($query)
20
-	 {
21
-	 	return $query->where('value','=','xyz')->pluck('key');
22
-	 }
18
+    // Issue to be fixed
19
+        public function scopeValue($query)
20
+        {
21
+            return $query->where('value','=','xyz')->pluck('key');
22
+        }
23 23
 }
24 24
\ No newline at end of file
Please login to merge, or discard this 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/Sms_trigger.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 
12 12
     protected $fillable = [
13 13
             'name',
14
-    		'alias',
14
+            'alias',
15 15
             'message',
16
-    		'status',
17
-    		'updated_by'
16
+            'status',
17
+            'updated_by'
18 18
     ];
19 19
 
20 20
     const CREATED_AT = null;
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.
app/Role_user.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
 class Role_user extends Model
8 8
 {
9 9
 
10
-	protected $table = 'role_user';
10
+    protected $table = 'role_user';
11 11
 
12 12
     public $timestamps = false;
13 13
 
14 14
     protected $fillable = [
15
-    		'user_id',
16
-    		'role_id',
15
+            'user_id',
16
+            'role_id',
17 17
     ];
18 18
 
19 19
     public function User()
Please login to merge, or discard this patch.
app/Permission_role.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@
 block discarded – undo
6 6
 
7 7
 class Permission_role extends Model
8 8
 {
9
-	protected $table = 'permission_role';
9
+    protected $table = 'permission_role';
10 10
 
11
-	public $timestamps = false;
11
+    public $timestamps = false;
12 12
 
13 13
     protected $fillable = [
14
-    		'permission_id',
15
-    		'role_id',
14
+            'permission_id',
15
+            'role_id',
16 16
     ];
17 17
 }
18 18
\ No newline at end of file
Please login to merge, or discard this patch.