@@ -412,7 +412,8 @@ |
||
| 412 | 412 | $this->io->writeln(''); |
| 413 | 413 | |
| 414 | 414 | // Sort the sources by routine name. |
| 415 | - usort($this->sources, function ($a, $b) { |
|
| 415 | + usort($this->sources, function ($a, $b) |
|
| 416 | + { |
|
| 416 | 417 | return strcmp($a['routine_name'], $b['routine_name']); |
| 417 | 418 | }); |
| 418 | 419 | |
@@ -506,7 +506,7 @@ |
||
| 506 | 506 | // Generate phpDoc for the parameters of the wrapper method. |
| 507 | 507 | |
| 508 | 508 | foreach ($parameters as $parameter) |
| 509 | - { |
|
| 509 | + { |
|
| 510 | 510 | $format = sprintf(' * %%-%ds %%-%ds %%-%ds %%s', mb_strlen('@param'), $max_type_length, $max_name_length); |
| 511 | 511 | |
| 512 | 512 | $lines = $parameter['description']; |