chore: fix coding standards

Signed-off-by: azjezz <azjezz@protonmail.com>
This commit is contained in:
azjezz 2022-02-06 19:22:32 +01:00
parent dff80efbbf
commit 0fe10f0af9
No known key found for this signature in database
GPG Key ID: B00E0A46B3F1C157

View File

@ -68,8 +68,10 @@ final class FunctionReturnTypeProvider implements FunctionReturnTypeProviderInte
return Type::getInt(); 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()) { if ($array_argument_type instanceof Type\Atomic\TArray) {
return Type::getInt(false, 0); if ($array_argument_type->type_params[0]->isNever() && $array_argument_type->type_params[1]->isNever()) {
return Type::getInt(false, 0);
}
} }
return Type::getInt(); return Type::getInt();