soluble-io /
soluble-mediatools-cli
| 1 | <?php |
||||
| 2 | |||||
| 3 | |||||
| 4 | namespace PHPSTORM_META { |
||||
| 5 | |||||
| 6 | use Psr\Container\ContainerInterface as PsrContainerInterface; |
||||
| 7 | use Psr\Http\Message\ServerRequestInterface; |
||||
| 8 | use PSR7Session\Http\SessionMiddleware; |
||||
| 9 | use PSR7Session\Session\SessionInterface; |
||||
| 10 | |||||
| 11 | // PSR-11 Container Interface |
||||
| 12 | override(PsrContainerInterface::get(0), |
||||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||||
| 13 | map([ |
||||
| 14 | '' => '@', |
||||
| 15 | ]) |
||||
| 16 | ); |
||||
| 17 | // PSR-7 requests attributes; e.g. PSR-7 Storage-less HTTP Session |
||||
| 18 | override(ServerRequestInterface::getAttribute(0), |
||||
|
0 ignored issues
–
show
The method
Psr\Http\Message\ServerR...terface::getAttribute() is not static, but was called statically.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 19 | map([ |
||||
| 20 | SessionMiddleware::SESSION_ATTRIBUTE instanceof SessionInterface, |
||||
| 21 | ]) |
||||
| 22 | ); |
||||
| 23 | } |
||||
| 24 |