@@ -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,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\WebPush; |
| 4 | 4 | |
| 5 | -use Minishlink\WebPush\WebPush; |
|
| 6 | 5 | use Illuminate\Support\ServiceProvider; |
| 6 | +use Minishlink\WebPush\WebPush; |
|
| 7 | 7 | |
| 8 | 8 | class WebPushServiceProvider extends ServiceProvider |
| 9 | 9 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\WebPush; |
| 4 | 4 | |
| 5 | -use Minishlink\WebPush\WebPush; |
|
| 6 | 5 | use Illuminate\Support\ServiceProvider; |
| 6 | +use Minishlink\WebPush\WebPush; |
|
| 7 | 7 | |
| 8 | 8 | class WebPushServiceProvider extends ServiceProvider |
| 9 | 9 | { |