mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
code style
This commit is contained in:
parent
2dd26cb0f1
commit
62475cb4e8
@ -64,7 +64,8 @@ class SprintfReturnTypeProvider implements FunctionReturnTypeProviderInterface
|
||||
}
|
||||
|
||||
// there is only 1 array argument, fall back to the default handling
|
||||
// eventually this could be refined to check if it's a literal array with literal string as first element for further checking
|
||||
// eventually this could be refined
|
||||
// to check if it's an array with literal string as first element for further checking
|
||||
if (count($call_args) === 1 && $has_splat_args === true) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user