Passed
Push — master ( 6760ee...9e3b1c )
by Ion
02:46
created
app/Providers/AuthServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function boot()
28 28
     {
29
-        $this->app['auth']->viaRequest('api', function ($request) {
29
+        $this->app['auth']->viaRequest('api', function($request) {
30 30
             if ($request->header('Authorization')) {
31 31
                 $requestToken = explode(' ', $request->header('Authorization'));
32 32
 
Please login to merge, or discard this patch.
app/Services/EmailService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         Lang::setLocale($languageCode);
25 25
 
26
-        Mail::send('emails.forgot', ['user' => $user], function ($message) use ($user) {
26
+        Mail::send('emails.forgot', ['user' => $user], function($message) use ($user) {
27 27
             $message->from(env('MAIL_FROM_ADDRESS'), env('MAIL_FROM_NAME'));
28 28
             $message->subject(Lang::get('forgot.subject'));
29 29
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         Lang::setLocale($languageCode);
43 43
 
44 44
         Mail::send('emails.activation', ['user' => $user],
45
-            function ($message) use ($user) {
45
+            function($message) use ($user) {
46 46
                 $message->from(env('MAIL_FROM_ADDRESS'), env('MAIL_FROM_NAME'));
47 47
                 $message->subject(Lang::get('activate.subject'));
48 48
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         Lang::setLocale($languageCode);
62 62
 
63 63
         Mail::send('emails.emailChange', ['user' => $user],
64
-            function ($message) use ($user) {
64
+            function($message) use ($user) {
65 65
                 $message->from(env('MAIL_FROM_ADDRESS'), env('MAIL_FROM_NAME'));
66 66
                 $message->subject(Lang::get('emailChange.subject'));
67 67
 
Please login to merge, or discard this patch.
app/Services/BaseService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function applySearch($builder, $term)
29 29
     {
30
-        $builder->where(function ($query) use ($term) {
30
+        $builder->where(function($query) use ($term) {
31 31
             foreach ($query->getModel()->getSearchable() as $searchColumn) {
32 32
                 if (in_array($searchColumn, $query->getModel()->getEncrypted())) {
33 33
                     $query->orWhereEncrypted($searchColumn, '%' . $term . '%');
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         $pictureData = [];
184 184
 
185 185
         if ($generateAvatar) {
186
-            $avatarImage = Image::make($image)->resize(200, 200, function ($constraint) {
186
+            $avatarImage = Image::make($image)->resize(200, 200, function($constraint) {
187 187
                 $constraint->aspectRatio();
188 188
                 $constraint->upsize();
189 189
             });
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             return json_encode($pictureData);
207 207
         }
208 208
 
209
-        $mediumImage = Image::make($image)->resize(1024, null, function ($constraint) {
209
+        $mediumImage = Image::make($image)->resize(1024, null, function($constraint) {
210 210
             $constraint->aspectRatio();
211 211
             $constraint->upsize();
212 212
         });
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
         $mediumImage->save($mediumPath . $name);
218 218
         $pictureData['medium'] = $mediumPath . $name;
219 219
 
220
-        $originalMaxImage = Image::make($image)->resize(1920, null, function ($constraint) {
220
+        $originalMaxImage = Image::make($image)->resize(1920, null, function($constraint) {
221 221
             $constraint->aspectRatio();
222 222
             $constraint->upsize();
223 223
         });
Please login to merge, or discard this patch.