@@ -79,6 +79,9 @@ |
||
| 79 | 79 | return $this->read($length, 'Unable to read response.'); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | + /** |
|
| 83 | + * @param string $errorMessage |
|
| 84 | + */ |
|
| 82 | 85 | private function read($length, $errorMessage) |
| 83 | 86 | { |
| 84 | 87 | if ($data = stream_get_contents($this->stream, $length)) { |