We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef0444 commit ea96bdcCopy full SHA for ea96bdc
src/PhpGenerator/Printer.php
@@ -241,7 +241,7 @@ protected function printUses(PhpNamespace $namespace): string
241
/**
242
* @param Closure|GlobalFunction|Method $function
243
*/
244
- protected function printParameters($function, ?PhpNamespace $namespace): string
+ public function printParameters($function, PhpNamespace $namespace = null): string
245
{
246
$params = [];
247
$list = $function->getParameters();
0 commit comments