Completed
Pull Request — master (#776)
by Travis
02:33
created
src/ClassDiscovery/RelativeNamespaceDiscovery.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * {@inheritdoc}
65
+     * @param string $class
65 66
      */
66 67
     public function getFile($class)
67 68
     {
@@ -70,7 +71,7 @@  discard block
 block discarded – undo
70 71
 
71 72
     /**
72 73
      * @param $directories
73
-     * @param $pattern
74
+     * @param string $pattern
74 75
      *
75 76
      * @return \Symfony\Component\Finder\Finder
76 77
      */
@@ -85,9 +86,9 @@  discard block
 block discarded – undo
85 86
     }
86 87
 
87 88
     /**
88
-     * @param $path
89
+     * @param string $path
89 90
      *
90
-     * @return mixed
91
+     * @return string
91 92
      */
92 93
     protected function convertPathToNamespace($path)
93 94
     {
@@ -95,6 +96,7 @@  discard block
 block discarded – undo
95 96
     }
96 97
 
97 98
     /**
99
+     * @param string $namespace
98 100
      * @return string
99 101
      */
100 102
     public function convertNamespaceToPath($namespace)
Please login to merge, or discard this patch.
examples/src/Robo/Plugin/Commands/ExampleCommands.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -348,6 +348,9 @@
 block discarded – undo
348 348
 {
349 349
     protected $message;
350 350
 
351
+    /**
352
+     * @param string $message
353
+     */
351 354
     public function __construct($message)
352 355
     {
353 356
         $this->message = $message;
Please login to merge, or discard this patch.
src/Runner.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@  discard block
 block discarded – undo
79 79
         $this->dir = getcwd();
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $errorType
84
+     */
82 85
     protected function errorCondition($msg, $errorType)
83 86
     {
84 87
         $this->errorConditions[$msg] = $errorType;
@@ -126,7 +129,7 @@  discard block
 block discarded – undo
126 129
     }
127 130
 
128 131
     /**
129
-     * @param array $argv
132
+     * @param string[] $argv
130 133
      * @param null|string $appName
131 134
      * @param null|string $appVersion
132 135
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
@@ -147,6 +150,7 @@  discard block
 block discarded – undo
147 150
 
148 151
     /**
149 152
      * Get a list of locations where config files may be loaded
153
+     * @param string $userConfig
150 154
      * @return string[]
151 155
      */
152 156
     protected function getConfigFilePaths($userConfig)
@@ -162,7 +166,7 @@  discard block
 block discarded – undo
162 166
      * @param null|\Symfony\Component\Console\Input\InputInterface $input
163 167
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
164 168
      * @param null|\Robo\Application $app
165
-     * @param array[] $commandFiles
169
+     * @param null|string $commandFiles
166 170
      * @param null|ClassLoader $classLoader
167 171
      *
168 172
      * @return int
@@ -258,9 +262,9 @@  discard block
 block discarded – undo
258 262
     }
259 263
 
260 264
     /**
261
-     * @param $relativeNamespace
265
+     * @param string $relativeNamespace
262 266
      *
263
-     * @return array|string[]
267
+     * @return string[]
264 268
      */
265 269
     protected function discoverCommandClasses($relativeNamespace)
266 270
     {
Please login to merge, or discard this patch.