Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedPHPDocAndRealString(
'non-empty-list<string>',
$is_php8 ? 'non-empty-list<string>' : '?non-empty-list<string>'
);
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 ClosureType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $int_or_string_or_null;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return $probably_real_array;
Avoid too many return
statements within this method. Open
Open
return $key_union_type->asListTypes()->withRealTypeSet($nullable_list_type_set);
Avoid too many return
statements within this method. Open
Open
return 'Expected a boolean' . self::errSuffixGotType($value);
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return 'Expected an associative array mapping strings to strings' . self::errSuffixGotType($value);
Avoid too many return
statements within this method. Open
Open
return [$parent, true];
Avoid too many return
statements within this method. Open
Open
return $string_union_type_with_false_in_real;
Avoid too many return
statements within this method. Open
Open
return $string_or_false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $closure_types->withRealType(ClosureType::instance(false));
Avoid too many return
statements within this method. Open
Open
return $key_type->withType($false_type)->withRealTypeSet($int_or_string_or_false->getTypeSet());
Avoid too many return
statements within this method. Open
Open
return $probably_real_array;
Avoid too many return
statements within this method. Open
Open
return $mixed_type->asPHPDocUnionType();