mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix too-long-line
This commit is contained in:
parent
a38d2f809b
commit
5938fd1bb9
@ -1941,7 +1941,9 @@ class CallChecker
|
|||||||
&& $callable_arg->right instanceof PhpParser\Node\Scalar\String_
|
&& $callable_arg->right instanceof PhpParser\Node\Scalar\String_
|
||||||
&& preg_match('/^::[A-Za-z0-9]+$/', $callable_arg->right->value)
|
&& preg_match('/^::[A-Za-z0-9]+$/', $callable_arg->right->value)
|
||||||
) {
|
) {
|
||||||
return [(string) $callable_arg->left->class->getAttribute('resolvedName') . $callable_arg->right->value];
|
return [
|
||||||
|
(string) $callable_arg->left->class->getAttribute('resolvedName') . $callable_arg->right->value
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
Reference in New Issue
Block a user