@@ -24,7 +24,7 @@ |
||
24 | 24 | ])->validate(); |
25 | 25 | |
26 | 26 | $user->forceFill([ |
27 | - 'password' => Hash::make($input['password']), |
|
27 | + 'password' => Hash::make($input[ 'password' ]), |
|
28 | 28 | ])->save(); |
29 | 29 | } |
30 | 30 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * @param array $recipients |
55 | 55 | * @return Thread |
56 | 56 | */ |
57 | - public function newThread(string $subject, User $user, array $content, array $recipients = []): Thread; |
|
57 | + public function newThread(string $subject, User $user, array $content, array $recipients = [ ]): Thread; |
|
58 | 58 | |
59 | 59 | /** |
60 | 60 | * New message. |