Browse Source

Fix up docblocks to be more specific.

mscherer 6 years ago
parent
commit
e365321804

+ 1 - 1
src/Command/CompletionCommand.php

@@ -186,7 +186,7 @@ class CompletionCommand extends Command implements CommandCollectionAwareInterfa
      * Reflect the subcommands names out of a shell.
      *
      * @param \Cake\Console\Shell $shell The shell to get commands for
-     * @return array A list of commands
+     * @return string[] A list of commands
      */
     protected function shellSubcommands(Shell $shell): array
     {

+ 3 - 3
src/Command/I18nExtractCommand.php

@@ -41,14 +41,14 @@ class I18nExtractCommand extends Command
     /**
      * Paths to use when looking for strings
      *
-     * @var array
+     * @var string[]
      */
     protected $_paths = [];
 
     /**
      * Files from where to extract
      *
-     * @var array
+     * @var string[]
      */
     protected $_files = [];
 
@@ -104,7 +104,7 @@ class I18nExtractCommand extends Command
     /**
      * An array of directories to exclude.
      *
-     * @var array
+     * @var string[]
      */
     protected $_exclude = [];
 

+ 1 - 1
src/Command/RoutesGenerateCommand.php

@@ -64,7 +64,7 @@ class RoutesGenerateCommand extends Command
      * Split the CLI arguments into a hash.
      *
      * @param string[] $args The arguments to split.
-     * @return array
+     * @return string[]
      */
     protected function _splitArgs(array $args): array
     {