Completed
Pull Request — master (#671)
by Antonio
05:52
created
src/Common/ExecTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -380,7 +380,7 @@
 block discarded – undo
380 380
     }
381 381
 
382 382
     /**
383
-     * @param $command
383
+     * @param string $command
384 384
      *
385 385
      * @return mixed
386 386
      */
Please login to merge, or discard this patch.
src/Common/ProcessUtils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
         return "'".str_replace("'", "'\\''", $argument)."'";
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $char
77
+     */
75 78
     private static function isSurroundedBy($arg, $char)
76 79
     {
77 80
         return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1];
Please login to merge, or discard this patch.
src/Runner.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         $this->dir = getcwd();
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $errorType
68
+     */
66 69
     protected function errorCondtion($msg, $errorType)
67 70
     {
68 71
         $this->errorConditions[$msg] = $errorType;
@@ -110,7 +113,7 @@  discard block
 block discarded – undo
110 113
     }
111 114
 
112 115
     /**
113
-     * @param array $argv
116
+     * @param string[] $argv
114 117
      * @param null|string $appName
115 118
      * @param null|string $appVersion
116 119
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
@@ -133,7 +136,7 @@  discard block
 block discarded – undo
133 136
      * @param null|\Symfony\Component\Console\Input\InputInterface $input
134 137
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
135 138
      * @param null|\Robo\Application $app
136
-     * @param array[] $commandFiles
139
+     * @param null|string $commandFiles
137 140
      * @param null|ClassLoader $classLoader
138 141
      *
139 142
      * @return int
Please login to merge, or discard this patch.
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.