Skip to content

Commit a5250a7

Browse files
committed
refactor(model): [User] add property comments
1 parent ea5e870 commit a5250a7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

app/Models/User.php

+21
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@
88
use Illuminate\Notifications\Notifiable;
99
use Laravel\Sanctum\HasApiTokens;
1010

11+
/**
12+
* App\Models\User.
13+
*
14+
* @property int $id
15+
* @property string $name
16+
* @property string $email
17+
* @property \Illuminate\Support\Carbon|null $email_verified_at
18+
* @property string $password
19+
* @property string|null $remember_token
20+
* @property \Illuminate\Support\Carbon|null $created_at
21+
* @property \Illuminate\Support\Carbon|null $updated_at
22+
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
23+
* @property-read int|null $notifications_count
24+
* @property-read \Illuminate\Database\Eloquent\Collection|\Laravel\Sanctum\PersonalAccessToken[] $tokens
25+
* @property-read int|null $tokens_count
26+
* @method static \Database\Factories\UserFactory factory(...$parameters)
27+
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
28+
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
29+
* @method static \Illuminate\Database\Eloquent\Builder|User query()
30+
* @mixin \Eloquent
31+
*/
1132
class User extends Authenticatable
1233
{
1334
use HasApiTokens, HasFactory, Notifiable;

0 commit comments

Comments
 (0)