@@ -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 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * @param Authenticatable|User|null $user |
102 | 102 | * @return bool |
103 | 103 | */ |
104 | - public function isAllowedForUser(?Authenticatable $user): bool |
|
104 | + public function isAllowedForUser(? Authenticatable $user) : bool |
|
105 | 105 | { |
106 | 106 | $isAuthor = $user === null ? false : ($this->user->id === $user->getAuthIdentifier()); |
107 | 107 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | return $this->image; |
122 | 122 | } |
123 | 123 | |
124 | - return static::DEFAULT_IMAGE_PATH . $this->image; |
|
124 | + return static::DEFAULT_IMAGE_PATH.$this->image; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
@@ -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 @@ |
||
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 @@ |
||
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\Models\Tip; |
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\Models\Tip; |
12 | 12 |
@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | * For the full copyright and license information, please view the LICENSE |
5 | 5 | * file that was distributed with this source code. |
6 | 6 | */ |
7 | -declare(strict_types=1); |
|
7 | +declare(strict_types = 1); |
|
8 | 8 | |
9 | 9 | namespace App\Models; |
10 | 10 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function getAvatarAttribute(string $avatar): string |
36 | 36 | { |
37 | - return self::DEFAULT_AVATAR_PATH . $avatar; |
|
37 | + return self::DEFAULT_AVATAR_PATH.$avatar; |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -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 @@ |
||
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 |