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