diff options
Diffstat (limited to 'src/php/lib/Grpc/ServerStreamingSurfaceActiveCall.php')
-rwxr-xr-x | src/php/lib/Grpc/ServerStreamingSurfaceActiveCall.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/lib/Grpc/ServerStreamingSurfaceActiveCall.php b/src/php/lib/Grpc/ServerStreamingSurfaceActiveCall.php index 082f995d8a..f131d6bab5 100755 --- a/src/php/lib/Grpc/ServerStreamingSurfaceActiveCall.php +++ b/src/php/lib/Grpc/ServerStreamingSurfaceActiveCall.php @@ -31,7 +31,7 @@ class ServerStreamingSurfaceActiveCall extends AbstractSurfaceActiveCall { * @return An iterator of response values */ public function responses() { - while(($response = $this->_read()) != null) { + while(($response = $this->_read()) !== null) { yield $response; } } |