mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-05-18 13:53:35 +02:00
Rename some variables for clarity
This commit is contained in:
+1
-6
@@ -25,7 +25,7 @@
|
||||
//
|
||||
}
|
||||
|
||||
public function Open( $Ip, $Port, $Timeout, $Engine )
|
||||
public function Open( $Address, $Port, $Timeout, $Engine )
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -37,11 +37,6 @@
|
||||
|
||||
public function Read( $Length = 1400 )
|
||||
{
|
||||
if( $this->PacketQueue->Count === 0 )
|
||||
{
|
||||
throw new InvalidPacketException( 'Buffer is empty', InvalidPacketException::BUFFER_EMPTY );
|
||||
}
|
||||
|
||||
$Buffer = new Buffer( );
|
||||
$Buffer->Set( $this->PacketQueue->pop() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user