1
0
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:
Brown 2018-10-17 14:37:32 -04:00
parent a38d2f809b
commit 5938fd1bb9

View File

@ -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 [];