Passed
Branch master (45f86d)
by Ajit
06:39
created
app/Exceptions/Handler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function report(Exception $e)
29 29
     {
30 30
         // sentry logging
31
-         if ($this->shouldReport($e)) {
31
+            if ($this->shouldReport($e)) {
32 32
             app('sentry')->captureException($e);
33 33
         }
34 34
         return parent::report($e);
Please login to merge, or discard this patch.
app/Invoice_detail.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -6,19 +6,19 @@  discard block
 block discarded – undo
6 6
 
7 7
 class Invoice_detail extends Model
8 8
 {
9
-	 protected $table = 'trn_invoice_details';
9
+        protected $table = 'trn_invoice_details';
10 10
 
11
-	 protected $fillable = [
11
+        protected $fillable = [
12 12
             'item_name',
13
-	 		'plan_id',
14
-	 		'item_description',
15
-	 		'invoice_id',
16
-	 		'item_amount',
17
-	 		'created_by',
18
-    		'updated_by',
19
-	 ];  
13
+                'plan_id',
14
+                'item_description',
15
+                'invoice_id',
16
+                'item_amount',
17
+                'created_by',
18
+            'updated_by',
19
+        ];  
20 20
 
21
-	 public function createdBy()
21
+        public function createdBy()
22 22
     {
23 23
         return $this->belongsTo('App\User','created_by');
24 24
     }
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     
31 31
     public function Invoice()
32 32
     {
33
-    	return $this->belongsTo('App\Invoice','invoice_id');
33
+        return $this->belongsTo('App\Invoice','invoice_id');
34 34
     }
35 35
 
36 36
     public function Plan()
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,21 +20,21 @@
 block discarded – undo
20 20
 
21 21
 	 public function createdBy()
22 22
     {
23
-        return $this->belongsTo('App\User','created_by');
23
+        return $this->belongsTo('App\User', 'created_by');
24 24
     }
25 25
 
26 26
     public function updatedBy()
27 27
     {
28
-        return $this->belongsTo('App\User','updated_by');
28
+        return $this->belongsTo('App\User', 'updated_by');
29 29
     }  
30 30
     
31 31
     public function Invoice()
32 32
     {
33
-    	return $this->belongsTo('App\Invoice','invoice_id');
33
+    	return $this->belongsTo('App\Invoice', 'invoice_id');
34 34
     }
35 35
 
36 36
     public function Plan()
37 37
     {
38
-        return $this->belongsTo('App\Plan','plan_id');
38
+        return $this->belongsTo('App\Plan', 'plan_id');
39 39
     }
40 40
 }
Please login to merge, or discard this patch.