mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Created phpstorm meta fle to get ContainerInterop typehint based on service name
This commit is contained in:
parent
5e493b435a
commit
7b1b00901a
1 changed files with 19 additions and 0 deletions
19
.phpstorm.meta.php
Normal file
19
.phpstorm.meta.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
namespace PHPSTORM_META;
|
||||
|
||||
use Interop\Container\ContainerInterface;
|
||||
|
||||
/**
|
||||
* PhpStorm Container Interop code completion
|
||||
*
|
||||
* Add code completion for container-interop.
|
||||
*
|
||||
* \App\ClassName::class will automatically resolve to it's own name.
|
||||
*
|
||||
* Custom strings like ``"cache"`` or ``"logger"`` need to be added manually.
|
||||
*/
|
||||
$STATIC_METHOD_TYPES = [
|
||||
ContainerInterface::get('') => [
|
||||
'' == '@',
|
||||
],
|
||||
];
|
Loading…
Add table
Reference in a new issue