Test Failed
Push — feature-laravel-5.4 ( 11ab58...f80e1e )
by Kirill
03:32
created
app/Jobs/UploadAvatarProcess.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Jobs;
12 12
 
@@ -56,14 +56,14 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function handle(ImageManager $manager, Storage $fs, LoggerInterface $logger): void
58 58
     {
59
-        $fulfilled = function (string $path) use ($logger) {
59
+        $fulfilled = function(string $path) use ($logger) {
60 60
             $this->user->avatar = $path;
61 61
             $this->user->save();
62 62
 
63
-            $logger->info('Queue: Update avatar for user ' . $this->user->name);
63
+            $logger->info('Queue: Update avatar for user '.$this->user->name);
64 64
         };
65 65
 
66
-        $rejected = function (\Throwable $error) use ($logger) {
66
+        $rejected = function(\Throwable $error) use ($logger) {
67 67
             $logger->error($error);
68 68
         };
69 69
 
@@ -79,6 +79,6 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public static function avatarPathname(): string
81 81
     {
82
-        return resource_path('images/avatars/' . random_int(1, 4));
82
+        return resource_path('images/avatars/'.random_int(1, 4));
83 83
     }
84 84
 }
Please login to merge, or discard this patch.