@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * Sets table style. |
| 113 | 113 | * |
| 114 | - * @param TableStyle|string $name The style name or a TableStyle instance |
|
| 114 | + * @param string $name The style name or a TableStyle instance |
|
| 115 | 115 | * |
| 116 | 116 | * @return Table |
| 117 | 117 | */ |
@@ -529,7 +529,6 @@ discard block |
||
| 529 | 529 | /** |
| 530 | 530 | * Gets column width. |
| 531 | 531 | * |
| 532 | - * @param int $column |
|
| 533 | 532 | * |
| 534 | 533 | * @return int |
| 535 | 534 | */ |
@@ -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]; |