Showing 4,939 of 4,939 total issues
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,
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);