@@ -23,10 +23,10 @@ discard block |
||
23 | 23 | { |
24 | 24 | return $this->printFilteredSchema( |
25 | 25 | $schema, |
26 | - function (Directive $directive): bool { |
|
26 | + function(Directive $directive): bool { |
|
27 | 27 | return !isSpecifiedDirective($directive); |
28 | 28 | }, |
29 | - function (TypeInterface $type): bool { |
|
29 | + function(TypeInterface $type): bool { |
|
30 | 30 | return !isSpecifiedScalarType($type) && !isIntrospectionType($type); |
31 | 31 | }, |
32 | 32 | $options |
@@ -41,10 +41,10 @@ discard block |
||
41 | 41 | { |
42 | 42 | return $this->printFilteredSchema( |
43 | 43 | $schema, |
44 | - function (Directive $directive): bool { |
|
44 | + function(Directive $directive): bool { |
|
45 | 45 | return isSpecifiedDirective($directive); |
46 | 46 | }, |
47 | - function (TypeInterface $type): bool { |
|
47 | + function(TypeInterface $type): bool { |
|
48 | 48 | return isIntrospectionType($type); |
49 | 49 | }, |
50 | 50 | $options |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | { |
110 | 110 | $types = \array_filter(\array_values($schema->getTypeMap()), $filter); |
111 | 111 | |
112 | - usort($types, function (TypeInterface $typeA, TypeInterface $typeB) { |
|
112 | + usort($types, function(TypeInterface $typeA, TypeInterface $typeB) { |
|
113 | 113 | return \strcasecmp($typeA->getName(), $typeB->getName()); |
114 | 114 | }); |
115 | 115 | |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | */ |
275 | 275 | protected function printMany(array $definitions, array $options): array |
276 | 276 | { |
277 | - return \array_map(function ($definition) use ($options) { |
|
277 | + return \array_map(function($definition) use ($options) { |
|
278 | 278 | return $this->print($definition, $options); |
279 | 279 | }, $definitions); |
280 | 280 | } |
@@ -370,7 +370,7 @@ |
||
370 | 370 | */ |
371 | 371 | protected function printMany(array $nodes): array |
372 | 372 | { |
373 | - return \array_map(function ($node) { |
|
373 | + return \array_map(function($node) { |
|
374 | 374 | return $this->print($node); |
375 | 375 | }, $nodes); |
376 | 376 | } |