@@ -11,7 +11,7 @@ |
||
11 | 11 | public function rules(): array |
12 | 12 | { |
13 | 13 | return [ |
14 | - 'email' => ['required', 'string', 'email'], |
|
14 | + 'email' => [ 'required', 'string', 'email' ], |
|
15 | 15 | ]; |
16 | 16 | } |
17 | 17 | } |
@@ -47,6 +47,6 @@ |
||
47 | 47 | |
48 | 48 | protected function unauthenticated($request, AuthenticationException $exception) |
49 | 49 | { |
50 | - return $this->container->make(ResponseFactory::class)->json(['message' => $exception->getMessage()], 401); |
|
50 | + return $this->container->make(ResponseFactory::class)->json([ 'message' => $exception->getMessage() ], 401); |
|
51 | 51 | } |
52 | 52 | } |