File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121use function array_map ;
2222use function array_values ;
2323use function iterator_to_array ;
24- use function mb_ltrim ;
24+ use function ltrim ;
2525
2626/**
2727 * A root type mapper for {@see Undefined} that maps replaces those with `null` as if Undefined wasn't part of the type at all.
@@ -55,7 +55,7 @@ public function mapNameToType(string $typeName): NamedType&GraphQLType
5555 */
5656 public static function replaceUndefinedWith (Type $ type , Type $ replaceWith = new Null_ ()): Type
5757 {
58- if ($ type instanceof Object_ && mb_ltrim ((string ) $ type ->getFqsen (), '\\' ) === Undefined::class) {
58+ if ($ type instanceof Object_ && ltrim ((string ) $ type ->getFqsen (), '\\' ) === Undefined::class) {
5959 return $ replaceWith ;
6060 }
6161
You can’t perform that action at this time.
0 commit comments