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
dff80efbbf
commit
0fe10f0af9
@ -68,8 +68,10 @@ final class FunctionReturnTypeProvider implements FunctionReturnTypeProviderInte
|
||||
return Type::getInt();
|
||||
}
|
||||
|
||||
if (($array_argument_type instanceof Type\Atomic\TArray) && $array_argument_type->type_params[0]->isNever() && $array_argument_type->type_params[1]->isNever()) {
|
||||
return Type::getInt(false, 0);
|
||||
if ($array_argument_type instanceof Type\Atomic\TArray) {
|
||||
if ($array_argument_type->type_params[0]->isNever() && $array_argument_type->type_params[1]->isNever()) {
|
||||
return Type::getInt(false, 0);
|
||||
}
|
||||
}
|
||||
|
||||
return Type::getInt();
|
||||
|
Loading…
Reference in New Issue
Block a user