/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ErrorHandler/Tests/Fixtures/InterfaceWithAnnotatedParameters.php
26 строк
742 B
Nicolas Grekas
[ErrorHandler] fix parsing `@param` with dollars in the description
13 ноя 2021, 14:08
13 ноя 2021, 14:08
8046b3b
Код
Авторство
О чём код?
<?php namespace Symfony\Component\ErrorHandler\Tests\Fixtures; /** * Ensures a deprecation is triggered when a new parameter is not declared in child classes. */ interface InterfaceWithAnnotatedParameters { /** * @param bool $matrix */ public function whereAmI(); /** * @param $noType with $dollar after * @param callable(\Throwable|null $reason, mixed $value) $callback and a comment * about this great param * @param string $param (comment with $dollar) * @param $defined * @param callable ($a, $b) $anotherOne * @param callable (mixed $a, $b) $definedCallable * @param \JustAType */ public function iAmHere(); }