diff --git a/src/channel/PhutilChannelChannel.php b/src/channel/PhutilChannelChannel.php index 1ab99e30..3b0cb437 100644 --- a/src/channel/PhutilChannelChannel.php +++ b/src/channel/PhutilChannelChannel.php @@ -53,10 +53,12 @@ abstract class PhutilChannelChannel extends PhutilChannel { protected function readBytes($length) { $this->throwOnRawByteOperations(); + return ''; // Never returned but makes static code analyzers happy } protected function writeBytes($bytes) { $this->throwOnRawByteOperations(); + return -1; // Never returned but makes static code analyzers happy } protected function getReadSockets() {