/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/Integration/Auth/Fixtures/Models/AuthenticationTestUser.php
27 строк
541 B
Anton Komarev
[8.x] Specify more concrete data types inside of arrays in PHPDoc (#34786)
12 окт 2020, 17:24
Не верифицирован
12 окт 2020, 17:24
9c04734
Код
Авторство
О чём код?
<?php namespace Illuminate\Tests\Integration\Auth\Fixtures\Models; use Illuminate\Foundation\Auth\User as Authenticatable; class AuthenticationTestUser extends Authenticatable { public $table = 'users'; public $timestamps = false; /** * The attributes that aren't mass assignable. * * @var string[] */ protected $guarded = []; /** * The attributes that should be hidden for arrays. * * @var string[] */ protected $hidden = [ 'password', 'remember_token', ]; }