diff options
Diffstat (limited to 'src/Models/User')
-rw-r--r-- | src/Models/User/User.php | 5 | ||||
-rw-r--r-- | src/Models/User/UsesUserModel.php | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/Models/User/User.php b/src/Models/User/User.php index 6db4de7e..11d88505 100644 --- a/src/Models/User/User.php +++ b/src/Models/User/User.php @@ -25,9 +25,12 @@ use Illuminate\Database\Query\Builder as QueryBuilder; * @property-read QueryBuilder|PersonalData $personalData * @property-read QueryBuilder|Settings $settings * @property-read QueryBuilder|State $state + * @property-read Collection|News[] $news * @property-read Collection|NewsComment[] $newsComments + * @property-read int|null $news_count + * @property-read int|null $news_comments_count * - * @method static QueryBuilder|User whereId($value) + * @method static QueryBuilder|User[] whereId($value) * @method static QueryBuilder|User[] whereName($value) * @method static QueryBuilder|User[] whereEmail($value) * @method static QueryBuilder|User[] wherePassword($value) diff --git a/src/Models/User/UsesUserModel.php b/src/Models/User/UsesUserModel.php index e0185b10..ff33e968 100644 --- a/src/Models/User/UsesUserModel.php +++ b/src/Models/User/UsesUserModel.php @@ -10,7 +10,7 @@ use Illuminate\Database\Query\Builder as QueryBuilder; * * @property-read QueryBuilder|User $user * - * @method static QueryBuilder|static whereUserId($value) + * @method static QueryBuilder|static[] whereUserId($value) */ trait UsesUserModel { |