@@ -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 | { |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | { |
| 20 | 20 | abstract public function offsetExists($offset); |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $offset |
|
| 24 | + */ |
|
| 22 | 25 | abstract public function offsetGet($offset); |
| 23 | 26 | |
| 24 | 27 | abstract public function offsetSet($offset, $value); |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param string|array $templatesPath |
| 22 | 22 | * @param Config $config |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function __construct($templatesPath, $config); |
| 25 | 26 | |
@@ -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 | { |
@@ -173,9 +173,9 @@ discard block |
||
| 173 | 173 | /** |
| 174 | 174 | * Return prefix if prefix or false. |
| 175 | 175 | * |
| 176 | - * @param $string |
|
| 176 | + * @param string $string |
|
| 177 | 177 | * |
| 178 | - * @return string[]|false |
|
| 178 | + * @return string|false |
|
| 179 | 179 | */ |
| 180 | 180 | public static function getPrefix($string) |
| 181 | 181 | { |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | /** |
| 190 | 190 | * Return string without prefix (if exist). |
| 191 | 191 | * |
| 192 | - * @param $string |
|
| 192 | + * @param string $string |
|
| 193 | 193 | * |
| 194 | 194 | * @return string |
| 195 | 195 | */ |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | /** |
| 369 | 369 | * Set title. |
| 370 | 370 | * |
| 371 | - * @param $title |
|
| 371 | + * @param string $title |
|
| 372 | 372 | * |
| 373 | 373 | * @return $this |
| 374 | 374 | */ |
@@ -416,7 +416,7 @@ discard block |
||
| 416 | 416 | /** |
| 417 | 417 | * Set weight. |
| 418 | 418 | * |
| 419 | - * @param $int |
|
| 419 | + * @param string|false $int |
|
| 420 | 420 | * |
| 421 | 421 | * @return $this |
| 422 | 422 | */ |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | /** |
| 441 | 441 | * Set permalink. |
| 442 | 442 | * |
| 443 | - * @param $permalink |
|
| 443 | + * @param string $permalink |
|
| 444 | 444 | * |
| 445 | 445 | * @return $this |
| 446 | 446 | */ |
@@ -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 | |