@@ -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\Http\Middleware; |
10 | 10 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | $user = User::where('id', $id)->where('password', $password)->first(); |
124 | 124 | |
125 | - if (! $user) { |
|
125 | + if (!$user) { |
|
126 | 126 | throw new UnprocessableEntityHttpException('Invalid user credentials.'); |
127 | 127 | } |
128 | 128 |