@@ -19,7 +19,6 @@ |
||
19 | 19 | class TableSeparator extends TableCell |
20 | 20 | { |
21 | 21 | /** |
22 | - * @param string $value |
|
23 | 22 | * @param array $options |
24 | 23 | */ |
25 | 24 | public function __construct(array $options = array()) |
@@ -38,6 +38,9 @@ |
||
38 | 38 | /** @var bool */ |
39 | 39 | private $disableOutput; |
40 | 40 | |
41 | + /** |
|
42 | + * @param boolean $disableOutput |
|
43 | + */ |
|
41 | 44 | public function __construct($disableOutput, $input) |
42 | 45 | { |
43 | 46 | $this->disableOutput = (bool) $disableOutput; |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * @param string|null $cwd The working directory or null to use the working dir of the current PHP process |
134 | 134 | * @param array|null $env The environment variables or null to use the same environment as the current PHP process |
135 | 135 | * @param string|null $input The input |
136 | - * @param int|float|null $timeout The timeout in seconds or null to disable |
|
136 | + * @param integer $timeout The timeout in seconds or null to disable |
|
137 | 137 | * @param array $options An array of options for proc_open |
138 | 138 | * |
139 | 139 | * @throws RuntimeException When proc_open is not installed |
@@ -762,7 +762,7 @@ discard block |
||
762 | 762 | /** |
763 | 763 | * Stops the process. |
764 | 764 | * |
765 | - * @param int|float $timeout The timeout in seconds |
|
765 | + * @param integer $timeout The timeout in seconds |
|
766 | 766 | * @param int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL |
767 | 767 | * |
768 | 768 | * @return int The exit-code of the process |
@@ -875,7 +875,7 @@ discard block |
||
875 | 875 | * |
876 | 876 | * To disable the timeout, set this value to null. |
877 | 877 | * |
878 | - * @param int|float|null $timeout The timeout in seconds |
|
878 | + * @param integer $timeout The timeout in seconds |
|
879 | 879 | * |
880 | 880 | * @return self The current Process instance |
881 | 881 | * |
@@ -1087,7 +1087,7 @@ discard block |
||
1087 | 1087 | * |
1088 | 1088 | * This content will be passed to the underlying process standard input. |
1089 | 1089 | * |
1090 | - * @param mixed $input The content |
|
1090 | + * @param string|null $input The content |
|
1091 | 1091 | * |
1092 | 1092 | * @return self The current Process instance |
1093 | 1093 | * |
@@ -108,6 +108,9 @@ |
||
108 | 108 | return $input; |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @param string $char |
|
113 | + */ |
|
111 | 114 | private static function isSurroundedBy($arg, $char) |
112 | 115 | { |
113 | 116 | return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1]; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @param callable[] $functions Array of functions to proxy to. |
18 | 18 | * |
19 | - * @return callable |
|
19 | + * @return \Closure |
|
20 | 20 | */ |
21 | 21 | public static function callArray(array $functions) |
22 | 22 | { |