@@ -70,6 +70,7 @@ |
||
| 70 | 70 | * pass a Definition as the first argument to this method right |
| 71 | 71 | * away, in which case the default of "true" will be used). |
| 72 | 72 | * @param Definition ...$definitions The Definitions to merge with this one. |
| 73 | + * @param Definition[] $definitions |
|
| 73 | 74 | * @return Definition The merged Definition as a new instance. |
| 74 | 75 | * @throws \InvalidArgumentException When one or more of the parameters is not a Definition |
| 75 | 76 | * instance (not including the $mergeArguments bool). |
@@ -44,7 +44,6 @@ |
||
| 44 | 44 | * Sets the given Style in the Collection. |
| 45 | 45 | * |
| 46 | 46 | * @param string $name The name the Style should be set as. |
| 47 | - * @param mixed $value The Style to set. |
|
| 48 | 47 | * @return $this |
| 49 | 48 | */ |
| 50 | 49 | public function set(string $name, interfaces\Style $style) : Map |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * specific formats and therefore should not be kept within the Command class. |
| 118 | 118 | * |
| 119 | 119 | * @param Command $command The Command to provide the synopsis for. |
| 120 | - * @return mixed |
|
| 120 | + * @return string |
|
| 121 | 121 | */ |
| 122 | 122 | public function getCommandSynopsis(Command $command, array $options = null) |
| 123 | 123 | { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * |
| 142 | 142 | * @param definitions\Options $definitions The Input Option Definitions to provide a synopsis for. |
| 143 | 143 | * @param array $options Additional options to be considered by the Descriptor. |
| 144 | - * @return mixed |
|
| 144 | + * @return string |
|
| 145 | 145 | */ |
| 146 | 146 | public function getInputOptionsSynopsis(definitions\Options $definitions, array $options = null) |
| 147 | 147 | { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | * |
| 170 | 170 | * @param input\Option $definition The Input Option to provide a synopsis for. |
| 171 | 171 | * @param array $options Additional options to be considered by the Descriptor. |
| 172 | - * @return mixed |
|
| 172 | + * @return string |
|
| 173 | 173 | */ |
| 174 | 174 | public function getInputOptionSynopsis(input\Option $definition, array $options = null) |
| 175 | 175 | { |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * |
| 190 | 190 | * @param definitions\Arguments $definitions The Input Argument Definitions to provide a synopsis for. |
| 191 | 191 | * @param array $options Additional options to be considered by the Descriptor. |
| 192 | - * @return mixed |
|
| 192 | + * @return string |
|
| 193 | 193 | */ |
| 194 | 194 | public function getInputArgumentsSynopsis(definitions\Arguments $definitions, array $options = null) |
| 195 | 195 | { |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * |
| 213 | 213 | * @param input\Argument $definition The Input Argument to provide a synopsis for. |
| 214 | 214 | * @param array $options Additional options to be considered by the Descriptor. |
| 215 | - * @return mixed |
|
| 215 | + * @return string |
|
| 216 | 216 | */ |
| 217 | 217 | public function getInputArgumentSynopsis(input\Argument $definition, array $options = null) |
| 218 | 218 | { |