[TASK] Updated variable names to lowerCamelCase.
This commit is contained in:
@@ -18,8 +18,8 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
||||
*/
|
||||
public function createBuffers() {
|
||||
$this->linebreak = "\n";
|
||||
$this->buffer_incoming = new Misc_Buffer($this->linebreak);
|
||||
$this->buffer_outgoing = new Misc_Buffer($this->linebreak);
|
||||
$this->bufferIncoming = new Misc_Buffer($this->linebreak);
|
||||
$this->bufferOutgoing = new Misc_Buffer($this->linebreak);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -31,7 +31,7 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
||||
* @throws Exception_GeneralException
|
||||
*/
|
||||
public function work() {
|
||||
$data = $this->buffer_incoming->getNextLine();
|
||||
$data = $this->bufferIncoming->getNextLine();
|
||||
//create contentObject and set the raw data.
|
||||
$contentObject = new Protocol_IrcProtocolContentObject($data);
|
||||
|
||||
@@ -176,7 +176,7 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
||||
* @return boolean
|
||||
*/
|
||||
public function canWork() {
|
||||
return $this->buffer_incoming->hasLines();
|
||||
return $this->bufferIncoming->hasLines();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -187,7 +187,7 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
||||
* @return void
|
||||
*/
|
||||
public function sendRaw($data) {
|
||||
$this->buffer_outgoing->addData($data . $this->linebreak);
|
||||
$this->bufferOutgoing->addData($data . $this->linebreak);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user