Page MenuHomePhorge

D25754.1736838036.diff
No OneTemporary

D25754.1736838036.diff

diff --git a/src/channel/PhutilChannelChannel.php b/src/channel/PhutilChannelChannel.php
--- a/src/channel/PhutilChannelChannel.php
+++ b/src/channel/PhutilChannelChannel.php
@@ -53,10 +53,12 @@
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() {

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 07:00 (4 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113906
Default Alt Text
D25754.1736838036.diff (563 B)

Event Timeline