Showing 3,272 of 4,939 total issues
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();
Avoid too many return
statements within this method. Open
Open
return $types;
Avoid too many return
statements within this method. Open
Open
return $array_map_function->getUnionType();
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 null;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return $null_type->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $generic_passed_array_type->withFlattenedTopLevelArrayShapeTypeInstances()
->withMappedElementTypes(static function (UnionType $union_type): UnionType {
return $union_type->nonFalseyClone();
})
->withAssociativeArrays(true)