Passed
Push — master ( 7f95c4...261678 )
by Rodinei
11:20
created
app/Http/Controllers/ReportController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 
8 8
 class ReportController extends Controller
9 9
 {
10
-	/**
10
+    /**
11 11
      * Create a new controller instance.
12 12
      *
13 13
      * @return void
@@ -19,13 +19,13 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function statement()
21 21
     {
22
-    	$statements = [];
23
-    	return view('report.statement', compact('statements'));
22
+        $statements = [];
23
+        return view('report.statement', compact('statements'));
24 24
     }
25 25
 
26 26
     public function getStatementByPeriod(Request $request)
27 27
     {
28
-    	$this->validate($request, [
28
+        $this->validate($request, [
29 29
             'dateStart' => 'required|date',
30 30
             'dateEnd' => 'required|date',
31 31
         ]);
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
 
55 55
     public function charts()
56 56
     {
57
-    	$categories = [];
58
-    	return view('report.charts', compact('categories'));
57
+        $categories = [];
58
+        return view('report.charts', compact('categories'));
59 59
     }
60 60
 
61 61
     public function sumChartsByPeriod(Request $request)
Please login to merge, or discard this patch.
app/Comment.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@
 block discarded – undo
22 22
      */
23 23
     public function user()
24 24
     {
25
-    	return $this->belongsTo('App\User');
25
+        return $this->belongsTo('App\User');
26 26
     }
27 27
   
28 28
     public function getCreatedAtAttribute($value)
29 29
     {
30
-      $data = date('H:i d/m/Y', strtotime($value)); 
31
-      return str_replace(':', 'h', $data);
30
+        $data = date('H:i d/m/Y', strtotime($value)); 
31
+        return str_replace(':', 'h', $data);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Category.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,16 +10,16 @@
 block discarded – undo
10 10
 
11 11
     public function user()
12 12
     {
13
-    	return $this->belongsTo('App\User');
13
+        return $this->belongsTo('App\User');
14 14
     }
15 15
 
16 16
     public function pays()
17 17
     {
18
-    	return $this->hasMany('App\BillPay');
18
+        return $this->hasMany('App\BillPay');
19 19
     }
20 20
 
21 21
     public function receives()
22 22
     {
23
-    	return $this->hasMany('App\BillReceive');
23
+        return $this->hasMany('App\BillReceive');
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Content.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function user()
24 24
     {
25
-    	return $this->belongsTo('App\User');
25
+        return $this->belongsTo('App\User');
26 26
     }
27 27
   
28 28
     /**
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function likes()
34 34
     {
35
-    	return $this->belongsToMany('App\User', 'likes', 'content_id', 'user_id');
35
+        return $this->belongsToMany('App\User', 'likes', 'content_id', 'user_id');
36 36
     }
37 37
   
38 38
     /**
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
   
49 49
     public function getPublishedAtAttribute($value)
50 50
     {
51
-      $data = date('H:i d/m/Y', strtotime($value)); 
52
-      return str_replace(':', 'h', $data);
51
+        $data = date('H:i d/m/Y', strtotime($value)); 
52
+        return str_replace(':', 'h', $data);
53 53
     }
54 54
 }
Please login to merge, or discard this patch.
app/User.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function likes()
102 102
     {
103
-    	return $this->belongsToMany('App\Content', 'likes', 'user_id', 'content_id');
103
+        return $this->belongsToMany('App\Content', 'likes', 'user_id', 'content_id');
104 104
     }
105 105
   
106 106
     /**
@@ -110,17 +110,17 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function friends()
112 112
     {
113
-    	return $this->belongsToMany('App\User', 'friends', 'user_id', 'friend_id');
113
+        return $this->belongsToMany('App\User', 'friends', 'user_id', 'friend_id');
114 114
     }
115 115
   
116 116
     public function followers()
117 117
     {
118
-    	return $this->belongsToMany('App\User', 'friends', 'friend_id', 'user_id');
118
+        return $this->belongsToMany('App\User', 'friends', 'friend_id', 'user_id');
119 119
     }
120 120
   
121 121
     public function getImageAttribute($value)
122 122
     {
123
-      return asset($value);
123
+        return asset($value);
124 124
     }
125 125
 
126 126
     public function findForPassport($username)
Please login to merge, or discard this patch.
app/BillPay.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,19 +6,19 @@
 block discarded – undo
6 6
 
7 7
 class BillPay extends Model
8 8
 {
9
-	protected $fillable = ['date_launch','name','value','status','category_id'];
9
+    protected $fillable = ['date_launch','name','value','status','category_id'];
10 10
 
11
-	protected $casts = ['status' => 'boolean'];
11
+    protected $casts = ['status' => 'boolean'];
12 12
 
13
-	protected $appends = ['type'];
13
+    protected $appends = ['type'];
14 14
 
15 15
     public function category()
16 16
     {
17
-    	return $this->belongsTo('App\Category');
17
+        return $this->belongsTo('App\Category');
18 18
     }
19 19
 
20 20
     public function getTypeAttribute()
21 21
     {
22
-    	return "out";
22
+        return "out";
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
app/BillReceive.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
 
15 15
     public function category()
16 16
     {
17
-    	return $this->belongsTo('App\Category');
17
+        return $this->belongsTo('App\Category');
18 18
     }
19 19
 
20 20
     public function getTypeAttribute()
21 21
     {
22
-    	return "in";
22
+        return "in";
23 23
     }
24 24
 }
Please login to merge, or discard this patch.