Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return [$type];
Avoid too many return
statements within this method. Open
Open
return [];
Avoid too many return
statements within this method. Open
Open
return parent::canCastToNonNullableTypeHandlingTemplates($type, $code_base);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return ClosureType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return VoidType::instance(false);
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 ArrayShapeType::fromFieldTypes(
self::shapeComponentStringsToTypes($shape_components, $context, $source, $code_base),
$is_nullable
);
Avoid too many return
statements within this method. Open
Open
return self::parseListTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, false);
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return UnionType::fromStringInContext($type_name, $context, $source, $code_base);
Avoid too many return
statements within this method. Open
Open
return GenericArrayType::fromElementType(
$element_type,
$is_nullable,
GenericArrayType::KEY_MIXED
);
Avoid too many return
statements within this method. Open
Open
return $source_type->withIsNullable(false)->canCastToAnyTypeInSetWithoutConfig($target_type_set);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return ClassStringType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return NonZeroIntType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return NullType::instance($is_nullable);