@@ -53,7 +53,7 @@ |
||
| 53 | 53 | private static function leadingWhitespace($str) { |
| 54 | 54 | $i = 0; |
| 55 | 55 | while ($i < mb_strlen($str) && ($str[$i] === ' ' || $str[$i] === '\t')) { |
| 56 | - $i++; |
|
| 56 | + $i++; |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | return $i; |
@@ -470,7 +470,7 @@ |
||
| 470 | 470 | function($field) use ($variables) { return self::valueFromASTUntyped($field->value, $variables); }, |
| 471 | 471 | iterator_to_array($valueNode->fields) |
| 472 | 472 | ) |
| 473 | - ); |
|
| 473 | + ); |
|
| 474 | 474 | case $valueNode instanceof VariableNode: |
| 475 | 475 | $variableName = $valueNode->name->value; |
| 476 | 476 | return ($variables && isset($variables[$variableName])) |
@@ -331,48 +331,48 @@ |
||
| 331 | 331 | 'description' => 'Location adjacent to an inline fragment.' |
| 332 | 332 | ], |
| 333 | 333 | 'SCHEMA' => [ |
| 334 | - 'value' => DirectiveLocation::SCHEMA, |
|
| 335 | - 'description' => 'Location adjacent to a schema definition.' |
|
| 334 | + 'value' => DirectiveLocation::SCHEMA, |
|
| 335 | + 'description' => 'Location adjacent to a schema definition.' |
|
| 336 | 336 | ], |
| 337 | 337 | 'SCALAR' => [ |
| 338 | - 'value' => DirectiveLocation::SCALAR, |
|
| 339 | - 'description' => 'Location adjacent to a scalar definition.' |
|
| 338 | + 'value' => DirectiveLocation::SCALAR, |
|
| 339 | + 'description' => 'Location adjacent to a scalar definition.' |
|
| 340 | 340 | ], |
| 341 | 341 | 'OBJECT' => [ |
| 342 | - 'value' => DirectiveLocation::OBJECT, |
|
| 343 | - 'description' => 'Location adjacent to an object type definition.' |
|
| 342 | + 'value' => DirectiveLocation::OBJECT, |
|
| 343 | + 'description' => 'Location adjacent to an object type definition.' |
|
| 344 | 344 | ], |
| 345 | 345 | 'FIELD_DEFINITION' => [ |
| 346 | - 'value' => DirectiveLocation::FIELD_DEFINITION, |
|
| 347 | - 'description' => 'Location adjacent to a field definition.' |
|
| 346 | + 'value' => DirectiveLocation::FIELD_DEFINITION, |
|
| 347 | + 'description' => 'Location adjacent to a field definition.' |
|
| 348 | 348 | ], |
| 349 | 349 | 'ARGUMENT_DEFINITION' => [ |
| 350 | - 'value' => DirectiveLocation::ARGUMENT_DEFINITION, |
|
| 351 | - 'description' => 'Location adjacent to an argument definition.' |
|
| 350 | + 'value' => DirectiveLocation::ARGUMENT_DEFINITION, |
|
| 351 | + 'description' => 'Location adjacent to an argument definition.' |
|
| 352 | 352 | ], |
| 353 | 353 | 'INTERFACE' => [ |
| 354 | - 'value' => DirectiveLocation::IFACE, |
|
| 355 | - 'description' => 'Location adjacent to an interface definition.' |
|
| 354 | + 'value' => DirectiveLocation::IFACE, |
|
| 355 | + 'description' => 'Location adjacent to an interface definition.' |
|
| 356 | 356 | ], |
| 357 | 357 | 'UNION' => [ |
| 358 | - 'value' => DirectiveLocation::UNION, |
|
| 359 | - 'description' => 'Location adjacent to a union definition.' |
|
| 358 | + 'value' => DirectiveLocation::UNION, |
|
| 359 | + 'description' => 'Location adjacent to a union definition.' |
|
| 360 | 360 | ], |
| 361 | 361 | 'ENUM' => [ |
| 362 | - 'value' => DirectiveLocation::ENUM, |
|
| 363 | - 'description' => 'Location adjacent to an enum definition.' |
|
| 362 | + 'value' => DirectiveLocation::ENUM, |
|
| 363 | + 'description' => 'Location adjacent to an enum definition.' |
|
| 364 | 364 | ], |
| 365 | 365 | 'ENUM_VALUE' => [ |
| 366 | - 'value' => DirectiveLocation::ENUM_VALUE, |
|
| 367 | - 'description' => 'Location adjacent to an enum value definition.' |
|
| 366 | + 'value' => DirectiveLocation::ENUM_VALUE, |
|
| 367 | + 'description' => 'Location adjacent to an enum value definition.' |
|
| 368 | 368 | ], |
| 369 | 369 | 'INPUT_OBJECT' => [ |
| 370 | - 'value' => DirectiveLocation::INPUT_OBJECT, |
|
| 371 | - 'description' => 'Location adjacent to an input object type definition.' |
|
| 370 | + 'value' => DirectiveLocation::INPUT_OBJECT, |
|
| 371 | + 'description' => 'Location adjacent to an input object type definition.' |
|
| 372 | 372 | ], |
| 373 | 373 | 'INPUT_FIELD_DEFINITION' => [ |
| 374 | - 'value' => DirectiveLocation::INPUT_FIELD_DEFINITION, |
|
| 375 | - 'description' => 'Location adjacent to an input object field definition.' |
|
| 374 | + 'value' => DirectiveLocation::INPUT_FIELD_DEFINITION, |
|
| 375 | + 'description' => 'Location adjacent to an input object field definition.' |
|
| 376 | 376 | ] |
| 377 | 377 | |
| 378 | 378 | ] |