Enforce strict types and final class in User model.

This commit is contained in:
Leonid Nikitin 2023-06-28 23:46:16 +06:00
parent 34319e5724
commit 90cab02d62
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace App\Models;
@ -9,7 +9,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
final class User extends Authenticatable
{
use HasApiTokens, HasFactory, Notifiable, SoftDeletes;