@@ -3,12 +3,10 @@ |
||
| 3 | 3 | namespace App\Events; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Broadcasting\Channel; |
| 6 | -use Illuminate\Queue\SerializesModels; |
|
| 7 | -use Illuminate\Broadcasting\PrivateChannel; |
|
| 8 | -use Illuminate\Broadcasting\PresenceChannel; |
|
| 9 | -use Illuminate\Foundation\Events\Dispatchable; |
|
| 10 | 6 | use Illuminate\Broadcasting\InteractsWithSockets; |
| 11 | 7 | use Illuminate\Contracts\Broadcasting\ShouldBroadcast; |
| 8 | +use Illuminate\Foundation\Events\Dispatchable; |
|
| 9 | +use Illuminate\Queue\SerializesModels; |
|
| 12 | 10 | |
| 13 | 11 | class Sockets implements ShouldBroadcast |
| 14 | 12 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Auth; |
|
| 6 | 5 | use App\Http\Controllers\Controller; |
| 7 | 6 | use Illuminate\Foundation\Auth\AuthenticatesUsers; |
| 8 | 7 | use Illuminate\Http\Request; |
| 8 | +use Illuminate\Support\Facades\Auth; |
|
| 9 | 9 | |
| 10 | 10 | class LoginController extends Controller |
| 11 | 11 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | -use App\User; |
|
| 6 | 5 | use App\Http\Controllers\Controller; |
| 7 | -use Illuminate\Support\Facades\Validator; |
|
| 6 | +use App\User; |
|
| 8 | 7 | use Illuminate\Foundation\Auth\RegistersUsers; |
| 8 | +use Illuminate\Support\Facades\Validator; |
|
| 9 | 9 | |
| 10 | 10 | class RegisterController extends Controller |
| 11 | 11 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * Get the notification's delivery channels. |
| 28 | 28 | * |
| 29 | 29 | * @param mixed $notifiable |
| 30 | - * @return array |
|
| 30 | + * @return string[] |
|
| 31 | 31 | */ |
| 32 | 32 | public function via($notifiable) |
| 33 | 33 | { |
@@ -3,9 +3,8 @@ |
||
| 3 | 3 | namespace App\Notifications; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Bus\Queueable; |
| 6 | -use Illuminate\Notifications\Notification; |
|
| 7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 8 | 6 | use Illuminate\Notifications\Messages\MailMessage; |
| 7 | +use Illuminate\Notifications\Notification; |
|
| 9 | 8 | |
| 10 | 9 | class SendActivationEmail extends Notification |
| 11 | 10 | { |