Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return NullType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $parent_type_option->get()->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $field_types;
Avoid too many return
statements within this method. Open
Open
return $this->typeAfterCastToObject($expr_type);
Avoid too many return
statements within this method. Open
Open
return $resulting_element_type->withRealTypeSet(
\is_object($resulting_real_element_type) ? $resulting_real_element_type->getRealTypeSet() : []
);
Avoid too many return
statements within this method. Open
Open
return UnionType::empty();
Avoid too many return
statements within this method. Open
Open
return UnionType::of($types, $types);
Avoid too many return
statements within this method. Open
Open
return self::literalIntUnionType($node->lineno);
Avoid too many return
statements within this method. Open
Open
return IterableType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return StringType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return Type::fromType($type, $template_type_list);
Avoid too many return
statements within this method. Open
Open
return $generic_types;
Avoid too many return
statements within this method. Open
Open
return NullType::instance(false)->asPHPDocUnionType();
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return ObjectType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $override_union_type;
Avoid too many return
statements within this method. Open
Open
return [];