mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-05-18 12:53:34 +02:00
And now make it work
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
abstract public function Write( $Header, $String = '' );
|
||||
abstract public function Read( $Length = 1400 );
|
||||
|
||||
protected function ReadInternal( $Buffer, callable $SherlockFunction )
|
||||
protected function ReadInternal( $Buffer, $SherlockFunction )
|
||||
{
|
||||
if( $Buffer->Remaining( ) === 0 )
|
||||
{
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
return $Buffer;
|
||||
}
|
||||
|
||||
private function Sherlock( $Buffer, $Length )
|
||||
public function Sherlock( $Buffer, $Length )
|
||||
{
|
||||
$Data = FRead( $this->Socket, $Length );
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
return $Buffer;
|
||||
}
|
||||
|
||||
private function Sherlock( $Buffer, $Length )
|
||||
public function Sherlock( $Buffer, $Length )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user