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 @@ -37,13 +37,13 @@ public static function dataForMakeCommand(): array
3737 'inputName ' => 'Example ' ,
3838 'expectedFilename ' => 'GraphQL/Scalars/Example.php ' ,
3939 'expectedClassDefinition ' => 'Example extends ScalarType implements TypeConvertible ' ,
40- 'expectedGraphqlName ' => '\$name = \'Example \'; ' ,
40+ 'expectedGraphqlName ' => 'public string \ \$name = \'Example \'; ' ,
4141 ],
4242 'ExampleScalar ' => [
4343 'inputName ' => 'ExampleScalar ' ,
4444 'expectedFilename ' => 'GraphQL/Scalars/ExampleScalar.php ' ,
4545 'expectedClassDefinition ' => 'ExampleScalar extends ScalarType implements TypeConvertible ' ,
46- 'expectedGraphqlName ' => '\$name = \'ExampleScalar \'; ' ,
46+ 'expectedGraphqlName ' => 'public string \ \$name = \'ExampleScalar \'; ' ,
4747 ],
4848 ];
4949 }
You can’t perform that action at this time.
0 commit comments