Completed
Push — master ( 6554a3...90d2ed )
by Ricardo
06:26
created
src/Models/Infra/Ci/Model/Project.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 class Project extends BaseProject
16 16
 {
17 17
     /**
18
-     * @return ProjectGroup|null
18
+     * @return null|\PHPCensor\Model\ProjectGroup
19 19
      */
20 20
     public function getGroup()
21 21
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param string $branch
49 49
      * @param null   $status
50 50
      *
51
-     * @return mixed|null
51
+     * @return Build|null
52 52
      */
53 53
     public function getLatestBuild($branch = 'master', $status = null)
54 54
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param string $branch
79 79
      *
80
-     * @return mixed|null
80
+     * @return Build|null
81 81
      */
82 82
     public function getPreviousBuild($branch = 'master')
83 83
     {
Please login to merge, or discard this patch.
src/Services/RepositoryFolderService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
 
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $realPath
52
+     */
50 53
     public static function readFolderPackages($item, $realPath)
51 54
     {
52 55
         if (in_array($item, ['.', '..'])) {
Please login to merge, or discard this patch.
src/Tools/Builder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -335,6 +335,7 @@
 block discarded – undo
335 335
      * Used by this class, and plugins, to execute shell commands.
336 336
      *
337 337
      * @param array ...$params
338
+     * @param string $params
338 339
      *
339 340
      * @return bool
340 341
      */
Please login to merge, or discard this patch.
src/Tools/Databases/Mysql/Restore.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,6 @@
 block discarded – undo
123 123
      * Backup the whole database or just some tables
124 124
      * Use '*' for whole database or 'table1 table2 table3...'
125 125
      *
126
-     * @param string $tables
127 126
      */
128 127
     public function restoreDb()
129 128
     {
Please login to merge, or discard this patch.
src/Tools/Docker/Mysql/Program.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
 
42 42
 
43 43
 
44
+    /**
45
+     * @param string $connectString
46
+     */
44 47
     public function singleBackup($connectString)
45 48
     {
46 49
         $dockerRunCode = 'docker run \\'.
Please login to merge, or discard this patch.
src/Tools/Plugin/Campfire.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     /**
113 113
      * Make a request to Campfire.
114 114
      *
115
-     * @param  $page
115
+     * @param  string $page
116 116
      * @param  null $data
117 117
      * @return bool|mixed
118 118
      */
Please login to merge, or discard this patch.
src/Tools/Plugin/Codeception.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * Try and find the codeception YML config file.
98 98
      *
99
-     * @param  $buildPath
99
+     * @param  string|null $buildPath
100 100
      * @return null|string
101 101
      */
102 102
     public static function findConfigFile($buildPath)
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Run tests from a Codeception config file.
130 130
      *
131
-     * @return bool|mixed
131
+     * @return boolean
132 132
      * @throws \Exception
133 133
      */
134 134
     protected function runConfigFile()
Please login to merge, or discard this patch.
src/Tools/Plugin/Irc.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param  resource $socket
85
-     * @param  array    $commands
86
-     * @return bool
85
+     * @param  string[]    $commands
86
+     * @return boolean|null
87 87
      */
88 88
     private function executeIrcCommands($socket, array $commands)
89 89
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      *
112 112
      * @param  resource $socket
113 113
      * @param  string   $command
114
-     * @return bool
114
+     * @return boolean|null
115 115
      */
116 116
     private function executeIrcCommand($socket, $command)
117 117
     {
Please login to merge, or discard this patch.
src/Tools/Plugin/Option/PhpUnitOptions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     protected $arguments = [];
29 29
 
30 30
     /**
31
-     * @param array  $options
31
+     * @param string[]  $options
32 32
      * @param string $location
33 33
      */
34 34
     public function __construct($options, $location)
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Remove a command argument
42 42
      *
43
-     * @param $argumentName
43
+     * @param string $argumentName
44 44
      *
45 45
      * @return $this
46 46
      */
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     /**
205 205
      * Get an option if defined
206 206
      *
207
-     * @param $optionName
207
+     * @param string $optionName
208 208
      *
209 209
      * @return string[]|string|null
210 210
      */
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
     /**
231 231
      * Ge the directory name where tests file reside
232 232
      *
233
-     * @return string|null
233
+     * @return string
234 234
      */
235 235
     public function getTestsPath()
236 236
     {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     /**
261 261
      * Get options for a given argument
262 262
      *
263
-     * @param $argumentName
263
+     * @param string $argumentName
264 264
      *
265 265
      * @return string[] All the options for given argument
266 266
      */
Please login to merge, or discard this patch.