mirror of
https://github.com/danog/psalm-plugin.git
synced 2024-11-29 20:29:02 +01:00
chore: fix coding standards
Signed-off-by: azjezz <azjezz@protonmail.com>
This commit is contained in:
parent
19d14701e5
commit
ce1bfb5f9a
@ -71,8 +71,10 @@ final class FunctionReturnTypeProvider implements FunctionReturnTypeProviderInte
|
||||
}
|
||||
|
||||
if (method_exists($array_argument_type->type_params[0], 'isEmpty')) {
|
||||
if ($array_argument_type->type_params[0]->isEmpty() && $array_argument_type->type_params[1]->isEmpty()) {
|
||||
return Type::getInt(false, 0);
|
||||
if ($array_argument_type->type_params[0]->isEmpty()) {
|
||||
if ($array_argument_type->type_params[1]->isEmpty()) {
|
||||
return Type::getInt(false, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user