File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 30
30
"psr/http-message" : " ^1 || ^2" ,
31
31
"react/http" : " ^1.6" ,
32
32
"react/promise" : " ^2.9" ,
33
- "rector/rector" : " ^0.18 " ,
33
+ "rector/rector" : " ^0.19 " ,
34
34
"symfony/polyfill-php81" : " ^1.23" ,
35
35
"symfony/var-exporter" : " ^5 || ^6 || ^7" ,
36
36
"thecodingmachine/safe" : " ^1.3 || ^2"
Original file line number Diff line number Diff line change @@ -348,12 +348,11 @@ protected static function printInputValue($arg): string
348
348
throw new InvariantViolation ("Unable to convert defaultValue of argument {$ arg ->name } into AST: {$ inconvertibleDefaultValue }. " );
349
349
}
350
350
351
- $ argDecl .= ' = ' . Printer::doPrint ($ defaultValueAST );
351
+ $ printedDefaultValue = Printer::doPrint ($ defaultValueAST );
352
+ $ argDecl .= " = {$ printedDefaultValue }" ;
352
353
}
353
354
354
- $ argDecl .= static ::printDeprecated ($ arg );
355
-
356
- return $ argDecl ;
355
+ return $ argDecl . static ::printDeprecated ($ arg );
357
356
}
358
357
359
358
/**
You can’t perform that action at this time.
0 commit comments