Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return IterableType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return self::parseListTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, $type_name === 'non-empty-list');
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return $php71_map;
Avoid too many return
statements within this method. Open
Open
return $php56_map;
Avoid too many return
statements within this method. Open
Open
return Type::fromFullyQualifiedString('\\' . \get_class($object));
Avoid too many return
statements within this method. Open
Open
return NonNullMixedType::instance($is_nullable);
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);