chore: Update PHPStorm meta file to include Symfony Console Application mapping (#6905)

Co-authored-by: 李铭昕 <715557344@qq.com>
This commit is contained in:
Deeka Wong 2024-06-24 10:36:02 +08:00 committed by GitHub
parent d106eef471
commit 298230f95a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View File

@ -9,19 +9,21 @@ declare(strict_types=1);
* @contact group@hyperf.io * @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/ */
namespace PHPSTORM_META; namespace PHPSTORM_META;
use function di; use Hyperf\Context\Context;
use Psr\Container\ContainerInterface;
use function make; use function make;
use function optional; use function optional;
use function tap; use function tap;
// Reflect // Reflect
override(\Psr\Container\ContainerInterface::get(0), map(['' => '@'])); override(ContainerInterface::get(0), map(['' => '@']));
override(\Hyperf\Context\Context::get(0), map(['' => '@'])); override(Context::get(0), map(['' => '@']));
override(make(0), map(['' => '@'])); override(make(0), map(['' => '@']));
override(\Hyperf\Support\make(0), map(['' => '@'])); override(\Hyperf\Support\make(0), map(['' => '@']));
override(di(0), map(['' => '@']));
override(optional(0), type(0)); override(optional(0), type(0));
override(\Hyperf\Support\optional(0), type(0)); override(\Hyperf\Support\optional(0), type(0));
override(tap(0), type(0)); override(tap(0), type(0));

View File

@ -13,9 +13,11 @@ declare(strict_types=1);
namespace Hyperf\Contract; namespace Hyperf\Contract;
use Hyperf\Framework\ApplicationFactory; use Hyperf\Framework\ApplicationFactory;
use Symfony\Component\Console\Application;
/** /**
* @see ApplicationFactory * @see ApplicationFactory
* @mixin Application
*/ */
interface ApplicationInterface interface ApplicationInterface
{ {