@@ -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\Exceptions; |
| 11 | 11 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | { |
| 67 | 67 | $exception = $this->prepareException($exception); |
| 68 | 68 | |
| 69 | - $htmlAccepted = ! $request->ajax() && $request->acceptsHtml(); |
|
| 69 | + $htmlAccepted = !$request->ajax() && $request->acceptsHtml(); |
|
| 70 | 70 | |
| 71 | 71 | if ($htmlAccepted && config('app.debug')) { |
| 72 | 72 | $whoops = new Run(); |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | return $whoops->handleException($exception); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | - if (! $this->isHttpException($exception)) { |
|
| 78 | + if (!$this->isHttpException($exception)) { |
|
| 79 | 79 | $exception = new HttpException(500, $exception->getMessage(), $exception); |
| 80 | 80 | } |
| 81 | 81 | |
@@ -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\GraphQL\Kernel; |
| 10 | 10 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @param array $args |
| 59 | 59 | * @return \Generator|null |
| 60 | 60 | */ |
| 61 | - public function validate(Validator $validator, array $args = []): ?\Generator |
|
| 61 | + public function validate(Validator $validator, array $args = []): ? \Generator |
|
| 62 | 62 | { |
| 63 | 63 | return null; |
| 64 | 64 | } |
@@ -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\GraphQL\Serializers; |
| 12 | 12 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | public function toArray($user): array |
| 26 | 26 | { |
| 27 | 27 | return [ |
| 28 | - 'id' => (int)$user->id, |
|
| 28 | + 'id' => (int) $user->id, |
|
| 29 | 29 | 'name' => $user->name, |
| 30 | 30 | 'email' => $user->email, |
| 31 | 31 | 'avatar' => $user->avatar, |
@@ -4,7 +4,7 @@ |
||
| 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\GraphQL\Mutations; |
| 10 | 10 | |