@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * Get the user that owns the subscription. |
| 23 | 23 | * |
| 24 | - * @return \Illuminate\Contracts\Auth\Authenticatable |
|
| 24 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 25 | 25 | */ |
| 26 | 26 | public function user() |
| 27 | 27 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\WebPush; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Config; |
|
| 6 | 5 | use Illuminate\Database\Eloquent\Model; |
| 6 | +use Illuminate\Support\Facades\Config; |
|
| 7 | 7 | |
| 8 | 8 | class PushSubscription extends Model |
| 9 | 9 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\WebPush; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | -use Minishlink\WebPush\VAPID; |
|
| 7 | 5 | use Illuminate\Console\Command; |
| 8 | 6 | use Illuminate\Console\ConfirmableTrait; |
| 7 | +use Illuminate\Support\Str; |
|
| 8 | +use Minishlink\WebPush\VAPID; |
|
| 9 | 9 | |
| 10 | 10 | class VapidKeysGenerateCommand extends Command |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\WebPush; |
| 4 | 4 | |
| 5 | -use Minishlink\WebPush\WebPush; |
|
| 6 | 5 | use Illuminate\Notifications\Notification; |
| 6 | +use Minishlink\WebPush\WebPush; |
|
| 7 | 7 | |
| 8 | 8 | class WebPushChannel |
| 9 | 9 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\WebPush; |
| 4 | 4 | |
| 5 | +use Illuminate\Support\ServiceProvider; |
|
| 5 | 6 | use Illuminate\Support\Str; |
| 6 | 7 | use Minishlink\WebPush\WebPush; |
| 7 | -use Illuminate\Support\ServiceProvider; |
|
| 8 | 8 | |
| 9 | 9 | class WebPushServiceProvider extends ServiceProvider |
| 10 | 10 | { |