| @@ -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 |      { | 
| @@ -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 | |
| @@ -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 | 
| @@ -17,6 +17,7 @@ | ||
| 17 | 17 | * Give Builder to object. | 
| 18 | 18 | * | 
| 19 | 19 | * @param \Cecil\Builder $builder | 
| 20 | + * @return void | |
| 20 | 21 | */ | 
| 21 | 22 | public function __construct(\Cecil\Builder $builder); | 
| 22 | 23 | |
| @@ -69,7 +69,7 @@ discard block | ||
| 69 | 69 | * @param string $string | 
| 70 | 70 | * @param string $type | 
| 71 | 71 | * | 
| 72 | - * @return string[]|null | |
| 72 | + * @return string|null | |
| 73 | 73 | */ | 
| 74 | 74 | protected static function get(string $string, string $type): ?string | 
| 75 | 75 |      { | 
| @@ -92,7 +92,7 @@ discard block | ||
| 92 | 92 | * | 
| 93 | 93 | * @param string $string | 
| 94 | 94 | * | 
| 95 | - * @return string[]|null | |
| 95 | + * @return string|null | |
| 96 | 96 | */ | 
| 97 | 97 | public static function getPrefix(string $string): ?string | 
| 98 | 98 |      { | 
| @@ -104,7 +104,7 @@ discard block | ||
| 104 | 104 | * | 
| 105 | 105 | * @param string $string | 
| 106 | 106 | * | 
| 107 | - * @return string[]|null | |
| 107 | + * @return string|null | |
| 108 | 108 | */ | 
| 109 | 109 | public static function getSuffix(string $string): ?string | 
| 110 | 110 |      { | 
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | [ | 
| 75 | 75 | 'name' => 'serve', | 
| 76 | 76 | 'route' => '[<path>] [--drafts|-d] [--verbose|-v] [--quiet|-q]' | 
| 77 | - .' [--open|-o] [--no-watcher|-nw] [--host=] [--port=]', | |
| 77 | + .' [--open|-o] [--no-watcher|-nw] [--host=] [--port=]', | |
| 78 | 78 | 'aliases' => [ | 
| 79 | 79 | 'd' => 'drafts', | 
| 80 | 80 | 'v' => 'verbose', |