| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 19 | public static function processMigrationFieldDirective( |
||
| 20 | MigrationGenerator $generator, |
||
| 21 | \GraphQL\Type\Definition\FieldDefinition $field, |
||
| 22 | \GraphQL\Language\AST\DirectiveNode $directive, |
||
| 23 | MigrationCodeFragment $code |
||
| 24 | ): void { |
||
| 25 | $x = Parser::getDirectiveArgumentByName($directive, 'value'); |
||
| 26 | $code->appendBase('->default(' . $x . ')'); |
||
| 27 | } |
||
| 29 |