/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/ErrorHandler/Tests/Fixtures/VirtualInterface.php
35 строк
994 B
Jérémy Derussé
[ErrorHandler] fix parsing of complexe type
19 янв 2026, 22:28
19 янв 2026, 22:28
aead9fd
Код
Авторство
О чём код?
<?php namespace Symfony\Component\ErrorHandler\Tests\Fixtures; /** * @method string interfaceMethod() * @method static staticReturningMethod() * @method sameLineInterfaceMethod($arg) * @method sameLineInterfaceMethodNoBraces * * Ignored * @method * @method * * Not ignored * @method newLineInterfaceMethod() Some description! * @method \stdClass newLineInterfaceMethodNoBraces Description * * Invalid * @method unknownType invalidInterfaceMethod() * @method unknownType|string invalidInterfaceMethodNoBraces * * Complex * @method complexInterfaceMethod($arg, ...$args) * @method array<string, int>|string[]|int complexInterfaceMethodTyped($arg, int ...$args) Description ... * * Static * @method static Foo&Bar staticMethod() * @method static mixed staticMethodNoBraces * @method static \stdClass staticMethodTyped(int $arg) Description * @method static \stdClass[] staticMethodTypedNoBraces */ interface VirtualInterface { }