@@ -110,6 +110,9 @@ |
||
110 | 110 | throw new Exception\RuntimeException($msg); |
111 | 111 | } |
112 | 112 | |
113 | + /** |
|
114 | + * @param resource $peer |
|
115 | + */ |
|
113 | 116 | public function checkA($peer): void |
114 | 117 | { |
115 | 118 | $val = $this->res[6]; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * soluble-japha / PHPJavaBridge driver client. |
@@ -193,6 +193,10 @@ |
||
193 | 193 | return (string) $response; |
194 | 194 | } |
195 | 195 | |
196 | + /** |
|
197 | + * @param string $compat |
|
198 | + * @param string $data |
|
199 | + */ |
|
196 | 200 | protected function getBodyFor($compat, $data) |
197 | 201 | { |
198 | 202 | $len = dechex(2 + strlen($data)); |