@@ -343,14 +343,14 @@ |
||
| 343 | 343 | $defaultValue = $parameter->getDefaultValue(); |
| 344 | 344 | |
| 345 | 345 | switch (true) { |
| 346 | - case is_array($defaultValue) && empty($defaultValue): |
|
| 347 | - $this->writer->write('array()'); |
|
| 348 | - break; |
|
| 349 | - case ($defaultValue instanceof PhpConstant): |
|
| 350 | - $this->writer->write($defaultValue->getName()); |
|
| 351 | - break; |
|
| 352 | - default: |
|
| 353 | - $this->writer->write($this->getPhpExport($defaultValue)); |
|
| 346 | + case is_array($defaultValue) && empty($defaultValue): |
|
| 347 | + $this->writer->write('array()'); |
|
| 348 | + break; |
|
| 349 | + case ($defaultValue instanceof PhpConstant): |
|
| 350 | + $this->writer->write($defaultValue->getName()); |
|
| 351 | + break; |
|
| 352 | + default: |
|
| 353 | + $this->writer->write($this->getPhpExport($defaultValue)); |
|
| 354 | 354 | |
| 355 | 355 | } |
| 356 | 356 | } |