Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7dabc1c

Browse files
committed
[*]fix warning
1 parent 197c1e9 commit 7dabc1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cassandra/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function disconnect() {
5151
* @return bool
5252
*/
5353
public function isConnected() {
54-
return $this->connection !== null && socket_listen($this->connection);
54+
return $this->connection !== null;
5555
}
5656

5757
/**
@@ -99,4 +99,4 @@ private function getResponse() {
9999
public function getNode() {
100100
return $this->node;
101101
}
102-
}
102+
}

0 commit comments

Comments
 (0)