@@ -185,6 +185,9 @@ |
||
| 185 | 185 | |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | + /** |
|
| 189 | + * @param integer $looptime |
|
| 190 | + */ |
|
| 188 | 191 | public static function getLoopTime($looptime) { |
| 189 | 192 | |
| 190 | 193 | return filter_var($looptime, FILTER_VALIDATE_INT, array( |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | /** |
| 123 | 123 | * Runner constructor |
| 124 | 124 | * |
| 125 | - * @param \Comodojo\Extender\Debug $logger Logger instance |
|
| 125 | + * @param Logger $logger Logger instance |
|
| 126 | 126 | * @param bool $multithread Enable/disable multithread mode |
| 127 | 127 | * @param int $max_result_bytes_in_multithread Max result bytes |
| 128 | 128 | * @param int $max_childs_runtime Max child runtime |
@@ -676,6 +676,8 @@ discard block |
||
| 676 | 676 | /** |
| 677 | 677 | * Change child process priority according to EXTENDER_NICENESS |
| 678 | 678 | * |
| 679 | + * @param integer $pid |
|
| 680 | + * @param Logger $logger |
|
| 679 | 681 | */ |
| 680 | 682 | private static function adjustNiceness($pid, $logger) { |
| 681 | 683 | |
@@ -32,10 +32,7 @@ |
||
| 32 | 32 | * |
| 33 | 33 | * @param array $parameters Array of parameters (if any) |
| 34 | 34 | * @param \Monolog\Logger $logger |
| 35 | - * @param int $pid Task PID (if any) |
|
| 36 | 35 | * @param string $name Task Name |
| 37 | - * @param int $timestamp Start timestamp (if null will be retrieved directly) |
|
| 38 | - * @param bool $multithread Multithread switch |
|
| 39 | 36 | * |
| 40 | 37 | * @return Object $this |
| 41 | 38 | */ |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Return the value at index |
| 29 | 29 | * |
| 30 | + * @param string $index |
|
| 30 | 31 | * @return string $index The offset |
| 31 | 32 | */ |
| 32 | 33 | public function offsetGet($index) { |
@@ -32,10 +32,7 @@ |
||
| 32 | 32 | * |
| 33 | 33 | * @param array $parameters Array of parameters (if any) |
| 34 | 34 | * @param \Monolog\Logger $logger |
| 35 | - * @param int $pid Task PID (if any) |
|
| 36 | 35 | * @param string $name Task Name |
| 37 | - * @param int $timestamp Start timestamp (if null will be retrieved directly) |
|
| 38 | - * @param bool $multithread Multithread switch |
|
| 39 | 36 | * |
| 40 | 37 | * @return Object $this |
| 41 | 38 | */ |
@@ -74,8 +74,6 @@ discard block |
||
| 74 | 74 | /** |
| 75 | 75 | * Class constructor |
| 76 | 76 | * |
| 77 | - * @param \Console_CommandLine $parser |
|
| 78 | - * @param \Monolog\logger $logger |
|
| 79 | 77 | */ |
| 80 | 78 | public function add($command, $parameters) { |
| 81 | 79 | |
@@ -140,7 +138,7 @@ discard block |
||
| 140 | 138 | /** |
| 141 | 139 | * Execute command |
| 142 | 140 | * |
| 143 | - * @param string $command Command to execute |
|
| 141 | + * @param string $command_name Command to execute |
|
| 144 | 142 | * @param array $options Options provided |
| 145 | 143 | * @param array $args Arguments provided |
| 146 | 144 | * @param Console_Color2 $color Injected Console_Color2 instance |