@@ -6,7 +6,7 @@ |
||
| 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\Models; |
| 12 | 12 | |
@@ -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\Models; |
| 12 | 12 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | * |
| 95 | 95 | * @return bool |
| 96 | 96 | */ |
| 97 | - public function isAllowedForUser(?Authenticatable $user): bool |
|
| 97 | + public function isAllowedForUser(? Authenticatable $user) : bool |
|
| 98 | 98 | { |
| 99 | 99 | $isAuthor = $user === null ? false : ($this->user->id === $user->getAuthIdentifier()); |
| 100 | 100 | |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | */ |
| 111 | 111 | public function getImageUrlAttribute(): string |
| 112 | 112 | { |
| 113 | - return static::DEFAULT_IMAGE_PATH . $this->image; |
|
| 113 | + return static::DEFAULT_IMAGE_PATH.$this->image; |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | /** |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace App\Models\User; |
| 11 | 11 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | */ |
| 39 | 39 | public function created(User $user) |
| 40 | 40 | { |
| 41 | - if (! $user->is_confirmed) { |
|
| 41 | + if (!$user->is_confirmed) { |
|
| 42 | 42 | $confirmation = new ConfirmEmailNotification($user, $this->jwt); |
| 43 | 43 | |
| 44 | 44 | $user->notify($confirmation); |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | 6 | * file that was distributed with this source code. |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace App\Models\User; |
| 11 | 11 | |
@@ -6,7 +6,7 @@ |
||
| 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\Models\Tag; |
| 12 | 12 | |
@@ -6,7 +6,7 @@ |
||
| 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 | |
@@ -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\Services; |
| 12 | 12 | |
@@ -22,9 +22,9 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function make(bool $withPrefix = true): string |
| 24 | 24 | { |
| 25 | - return ($withPrefix ? '#' : '') . |
|
| 26 | - strtolower(sprintf('%02X', $this->createDarkColor())) . |
|
| 27 | - strtolower(sprintf('%02X', $this->createDarkColor())) . |
|
| 25 | + return ($withPrefix ? '#' : ''). |
|
| 26 | + strtolower(sprintf('%02X', $this->createDarkColor())). |
|
| 27 | + strtolower(sprintf('%02X', $this->createDarkColor())). |
|
| 28 | 28 | strtolower(sprintf('%02X', $this->createDarkColor())); |
| 29 | 29 | } |
| 30 | 30 | |
@@ -6,7 +6,7 @@ |
||
| 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\Services\ContentRenderer; |
| 12 | 12 | |
@@ -6,7 +6,7 @@ |
||
| 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\Services\ContentRenderer; |
| 12 | 12 | |