@@ -357,6 +357,9 @@ |
||
357 | 357 | } |
358 | 358 | } |
359 | 359 | |
360 | + /** |
|
361 | + * @param string $type |
|
362 | + */ |
|
360 | 363 | protected function writeFunctionReturnType($type) { |
361 | 364 | if ($this->config->getGenerateReturnTypeHints() && $type != NULL && false === strpos($type, '|')) { |
362 | 365 | $this->writer->write(': ')->write($type); |
@@ -5,6 +5,7 @@ |
||
5 | 5 | |
6 | 6 | /** |
7 | 7 | * Generates docblock based on provided information |
8 | + * @return void |
|
8 | 9 | */ |
9 | 10 | public function generateDocblock(); |
10 | 11 | } |
@@ -47,7 +47,6 @@ |
||
47 | 47 | /** |
48 | 48 | * Returns a constant |
49 | 49 | * |
50 | - * @param string|PhpConstant $nameOrConstant constant or name |
|
51 | 50 | * @throws \InvalidArgumentException If the constant cannot be found |
52 | 51 | * @return PhpConstant |
53 | 52 | */ |