Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return CallableArrayType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return NonEmptyStringType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return ResourceType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return $make(MixedType::instance(false), $key_type);
Avoid too many return
statements within this method. Open
Open
return NonEmptyListType::fromElementType(
MixedType::instance(false),
$is_nullable
);
Avoid too many return
statements within this method. Open
Open
return self::fromEscapedLiteralScalar($type_name);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $php70_map;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $this;
Avoid too many return
statements within this method. Open
Open
return NonEmptyAssociativeArrayType::fromElementType(MixedType::instance(false), $is_nullable, GenericArrayType::KEY_MIXED);
Avoid too many return
statements within this method. Open
Open
return ScalarRawType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return TrueType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return StaticType::instanceWithTemplateTypeList($is_nullable, $template_parameter_type_list);
Avoid too many return
statements within this method. Open
Open
return self::parseGenericArrayTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, $type_name === 'non-empty-array', false);
Avoid too many return
statements within this method. Open
Open
return self::make(
$namespace,
$type_name,
$template_parameter_type_list,
$is_nullable,
Avoid too many return
statements within this method. Open
Open
return self::fromInternalTypeName($type_name, $is_nullable, $source, $template_parameter_type_list);
Avoid too many return
statements within this method. Open
Open
return MixedType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return GenericArrayType::fromElementType(
Type::make(
$fqsen->getNamespace(),
$fqsen->getName(),
$template_parameter_type_list,