1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 13:03:34 +02:00

Rename some variables for clarity

This commit is contained in:
Pavel Djundik
2015-10-22 11:58:33 +03:00
parent 8b475d2649
commit 2bbe339458
5 changed files with 17 additions and 23 deletions
+1 -6
View File
@@ -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() );