/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/Integration/Http/Fixtures/Post.php
25 строк
424 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\Http\Fixtures; use Illuminate\Database\Eloquent\Model; class Post extends Model { /** * The attributes that aren't mass assignable. * * @var string[] */ protected $guarded = []; /** * Return whether the post is published. * * @return bool */ public function getIsPublishedAttribute() { return true; } }