/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Testing/Fluent/Concerns/Debugging.php
31 строка
573 B
Andrew Brown
when a method returns `$this` set the return type to `static` (#56092)
23 июн 2025, 02:34
Не верифицирован
23 июн 2025, 02:34
071a9d3
Код
Авторство
О чём код?
<?php namespace Illuminate\Testing\Fluent\Concerns; use Illuminate\Support\Traits\Dumpable; trait Debugging { use Dumpable; /** * Dumps the given props. * * @param string|null $prop * @return $this */ public function dump(?string $prop = null): static { dump($this->prop($prop)); return $this; } /** * Retrieve a prop within the current scope using "dot" notation. * * @param string|null $key * @return mixed */ abstract protected function prop(?string $key = null); }