Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return self::parseClassStringTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable);
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return ListType::fromElementType(MixedType::instance(false), $is_nullable);
Avoid too many return
statements within this method. Open
Open
return $make(MixedType::instance(false), GenericArrayType::KEY_MIXED);
Avoid too many return
statements within this method. Open
Open
return $this;
Avoid too many return
statements within this method. Open
Open
return new GenericMultiArrayType(
$types,
$is_nullable,
$key_type,
$always_has_elements,
Avoid too many return
statements within this method. Open
Open
return Type::make(
$fqsen->getNamespace(),
$fqsen->getName(),
$template_parameter_type_list,
$is_nullable,
Avoid too many return
statements within this method. Open
Open
return $object ? TrueType::instance(false) : FalseType::instance(false);
Avoid too many return
statements within this method. Open
Open
return IntType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return NonEmptyGenericArrayType::fromElementType(MixedType::instance(false), $is_nullable, GenericArrayType::KEY_MIXED);
Avoid too many return
statements within this method. Open
Open
return StringType::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 self::parseListTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, true);
Avoid too many return
statements within this method. Open
Open
return CallableStringType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return NonEmptyMixedType::instance($is_nullable);
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 ArrayType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return self::fromFunctionLikeInContext($type_name === 'Closure', $shape_components, $context, $source, $is_nullable);
Avoid too many return
statements within this method. Open
Open
return self::parseGenericArrayTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, true, true);