chat: Remove unnecessary call-time pass by reference.
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ class ChatConnection {
|
||||
|
||||
function ChatConnection($resource) {
|
||||
$this->handle = $resource;
|
||||
@socket_getpeername($this->handle, &$this->ip, &$this->port);
|
||||
@socket_getpeername($this->handle, $this->ip, $this->port);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user