Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return self::parseGenericIterableTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return ResourceType::instance(false); // For inferring the type of constants STDIN, etc.
Avoid too many return
statements within this method. Open
Open
return FloatType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return $source_type->withIsNullable(false)->canCastToAnyTypeInSet($target_type_set);
Avoid too many return
statements within this method. Open
Open
return $type->getValue();
Avoid too many return
statements within this method. Open
Open
return CallableType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return self::parseGenericArrayTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, $type_name === 'non-empty-array', true);
Avoid too many return
statements within this method. Open
Open
return GenericArrayTemplateKeyType::fromTemplateAndElementType(
// @phan-suppress-next-line PhanPossiblyFalseTypeArgument
\reset($types),
$is_nullable,
$template_parameter_type_list[0]
Avoid too many return
statements within this method. Open
Open
return new GenericMultiArrayType(
$types,
$is_nullable,
GenericArrayType::KEY_INT,
$always_has_elements,
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return CallableObjectType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return FalseType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return $make(\reset($types), $key_type);
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return ObjectType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return self::parseGenericArrayTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, false, false);
Avoid too many return
statements within this method. Open
Open
return false;