@@ -177,7 +177,7 @@ |
||
| 177 | 177 | * @param integer $length Read up to $length bytes from the object and return |
| 178 | 178 | * them. Fewer than $length bytes may be returned if underlying stream |
| 179 | 179 | * call returns fewer bytes. |
| 180 | - * @return string|false Returns the data read from the stream, false if |
|
| 180 | + * @return null|string Returns the data read from the stream, false if |
|
| 181 | 181 | * unable to read or if an error occurs. |
| 182 | 182 | */ |
| 183 | 183 | public function read($length) |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | break; |
| 122 | 122 | |
| 123 | 123 | case self::MODE_EVENT_STREAM: |
| 124 | - $output = new CallbackStream(function () use ($request) { |
|
| 124 | + $output = new CallbackStream(function() use ($request) { |
|
| 125 | 125 | return $this->results(); |
| 126 | 126 | }); |
| 127 | 127 | |