Skip to content

Commit ea96bdc

Browse files
committed
Printer: printParameters() is public
1 parent 0ef0444 commit ea96bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpGenerator/Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected function printUses(PhpNamespace $namespace): string
241241
/**
242242
* @param Closure|GlobalFunction|Method $function
243243
*/
244-
protected function printParameters($function, ?PhpNamespace $namespace): string
244+
public function printParameters($function, PhpNamespace $namespace = null): string
245245
{
246246
$params = [];
247247
$list = $function->getParameters();

0 commit comments

Comments
 (0)