Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return $cache_outer[$i];
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return "Expected null or a list of strings: index $i is type '" . gettype($element) . "'";
Avoid too many return
statements within this method. Open
Open
return [$parent, $this->isUsedExpressionInExprList($node, $parent)];
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $possible_return_nodes;
Avoid too many return
statements within this method. Open
Open
return $str_replace_types;
Avoid too many return
statements within this method. Open
Open
return $string_union_type_with_null_in_real;
Avoid too many return
statements within this method. Open
Open
return [
// commonly used functions where the return type depends on a passed in boolean
'var_export' => $string_if_2_true,
'print_r' => $string_if_2_true_else_true,
'json_decode' => $json_decode_return_type_handler,
Avoid too many return
statements within this method. Open
Open
return $key_type->withRealTypeSet($int_or_string_or_null->getRealTypeSet());
Avoid too many return
statements within this method. Open
Open
return $key_type->withRealTypeSet($int_or_string_or_null->getRealTypeSet());
Avoid too many return
statements within this method. Open
Open
return $element_types->asNonEmptyGenericArrayTypes(GenericArrayType::KEY_INT);
Avoid too many return
statements within this method. Open
Open
return $return->withRealTypeSet($nullable_array_type_set);
Avoid too many return
statements within this method. Open
Open
return $possible_return_nodes;
Avoid too many return
statements within this method. Open
Open
return $json_decode_array_types;
Avoid too many return
statements within this method. Open
Open
return $json_decode_array_or_object_types;
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedPHPDocString('array<string,string>');
Avoid too many return
statements within this method. Open
Open
return $real_int_type;
Avoid too many return
statements within this method. Open
Open
return $string_union_type_with_null_in_real;
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedPHPDocAndRealString(
'list<string>',
$is_php8 ? 'list<string>' : '?list<string>'
);