@@ -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); |
@@ -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 | |
@@ -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 | { |
@@ -476,7 +476,7 @@ |
||
| 476 | 476 | /** |
| 477 | 477 | * Is variable exist? |
| 478 | 478 | * |
| 479 | - * @param $name |
|
| 479 | + * @param string $name |
|
| 480 | 480 | * |
| 481 | 481 | * @return bool |
| 482 | 482 | */ |
@@ -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 | |