@@ -20,7 +20,7 @@ |
||
| 20 | 20 | class FilenameRecursiveTreeIterator extends RecursiveTreeIterator |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @return mixed |
|
| 23 | + * @return string |
|
| 24 | 24 | */ |
| 25 | 25 | public function current() |
| 26 | 26 | { |
@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * {@inheritdoc} |
| 23 | + * @param string $string |
|
| 23 | 24 | */ |
| 24 | 25 | public static function convertFrontmatter($string, $type = 'yaml') |
| 25 | 26 | { |
@@ -38,6 +39,7 @@ discard block |
||
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * {@inheritdoc} |
| 42 | + * @param string $string |
|
| 41 | 43 | */ |
| 42 | 44 | public static function convertBody($string) |
| 43 | 45 | { |
@@ -53,6 +53,7 @@ |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * {@inheritdoc} |
| 56 | + * @param string $name |
|
| 56 | 57 | */ |
| 57 | 58 | public function addGlobal($name, $value) |
| 58 | 59 | { |
@@ -17,6 +17,7 @@ |
||
| 17 | 17 | * Give config to object. |
| 18 | 18 | * |
| 19 | 19 | * @param \Cecil\Config $config |
| 20 | + * @return void |
|
| 20 | 21 | */ |
| 21 | 22 | public function __construct(\Cecil\Config $config); |
| 22 | 23 | |
@@ -16,6 +16,7 @@ |
||
| 16 | 16 | * StepInterface constructor. |
| 17 | 17 | * |
| 18 | 18 | * @param Builder $builder |
| 19 | + * @return void |
|
| 19 | 20 | */ |
| 20 | 21 | public function __construct(Builder $builder); |
| 21 | 22 | |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param string|array $templatesPath |
| 22 | 22 | * @param Builder $buider |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function __construct($templatesPath, Builder $buider); |
| 25 | 26 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param string $string |
| 40 | 40 | * |
| 41 | - * @return string[]|null |
|
| 41 | + * @return string|null |
|
| 42 | 42 | */ |
| 43 | 43 | public static function getPrefix(string $string): ?string |
| 44 | 44 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | /** |
| 128 | 128 | * Format class name. |
| 129 | 129 | * |
| 130 | - * @param \object $class |
|
| 130 | + * @param Generator\GeneratorInterface $class |
|
| 131 | 131 | * @param array $options |
| 132 | 132 | * |
| 133 | 133 | * @return string |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | /** |
| 152 | 152 | * Config::setSourceDir alias. |
| 153 | 153 | * |
| 154 | - * @param $sourceDir |
|
| 154 | + * @param null|string $sourceDir |
|
| 155 | 155 | * |
| 156 | 156 | * @return $this |
| 157 | 157 | */ |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | /** |
| 166 | 166 | * Config::setDestinationDir alias. |
| 167 | 167 | * |
| 168 | - * @param $destinationDir |
|
| 168 | + * @param null|string $destinationDir |
|
| 169 | 169 | * |
| 170 | 170 | * @return $this |
| 171 | 171 | */ |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | - * @param $content |
|
| 180 | + * @param Finder $content |
|
| 181 | 181 | */ |
| 182 | 182 | public function setContent($content) |
| 183 | 183 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | } |
| 194 | 194 | |
| 195 | 195 | /** |
| 196 | - * @param $pages |
|
| 196 | + * @param PagesCollection $pages |
|
| 197 | 197 | */ |
| 198 | 198 | public function setPages($pages) |
| 199 | 199 | { |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |
| 212 | - * @param $menus |
|
| 212 | + * @param Collection\Menu\Collection $menus |
|
| 213 | 213 | */ |
| 214 | 214 | public function setMenus($menus) |
| 215 | 215 | { |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | /** |
| 307 | - * @param $renderer |
|
| 307 | + * @param Renderer\Twig $renderer |
|
| 308 | 308 | */ |
| 309 | 309 | public function setRenderer($renderer) |
| 310 | 310 | { |