@@ -6,7 +6,7 @@ discard block |
||
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,11 +56,11 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function handle(ImageManager $manager, Storage $fs, LoggerInterface $logger): void |
58 | 58 | { |
59 | - $fulfilled = function (User $user) use ($logger) { |
|
60 | - $logger->info('Queue: Update avatar for user ' . $user->name); |
|
59 | + $fulfilled = function(User $user) use ($logger) { |
|
60 | + $logger->info('Queue: Update avatar for user '.$user->name); |
|
61 | 61 | }; |
62 | 62 | |
63 | - $rejected = function (\Throwable $error) use ($logger) { |
|
63 | + $rejected = function(\Throwable $error) use ($logger) { |
|
64 | 64 | $logger->error($error); |
65 | 65 | }; |
66 | 66 | |
@@ -76,6 +76,6 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public static function avatarPathname(): string |
78 | 78 | { |
79 | - return resource_path('images/avatars/' . random_int(1, 4)); |
|
79 | + return resource_path('images/avatars/'.random_int(1, 4)); |
|
80 | 80 | } |
81 | 81 | } |