mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-27 04:14:56 +01:00
Fixed named arguments in ContainerHandler.php for Psalm 3.14 (#73)
This commit is contained in:
parent
798b72f40c
commit
942397d1b5
@ -125,13 +125,13 @@ class ContainerHandler implements AfterMethodCallAnalysisInterface, AfterClassLi
|
|||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function afterClassLikeVisit(
|
public static function afterClassLikeVisit(
|
||||||
ClassLike $class_node,
|
ClassLike $stmt,
|
||||||
ClassLikeStorage $class_storage,
|
ClassLikeStorage $storage,
|
||||||
FileSource $statements_source,
|
FileSource $statements_source,
|
||||||
Codebase $codebase,
|
Codebase $codebase,
|
||||||
array &$file_replacements = []
|
array &$file_replacements = []
|
||||||
) {
|
) {
|
||||||
if (\in_array($class_storage->name, ContainerHandler::GET_CLASSLIKES)) {
|
if (\in_array($storage->name, ContainerHandler::GET_CLASSLIKES)) {
|
||||||
if (self::$containerMeta) {
|
if (self::$containerMeta) {
|
||||||
$file_path = $statements_source->getFilePath();
|
$file_path = $statements_source->getFilePath();
|
||||||
$file_storage = $codebase->file_storage_provider->get($file_path);
|
$file_storage = $codebase->file_storage_provider->get($file_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user