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