Skip to content

Commit b861f5b

Browse files
linting
1 parent 5347ce0 commit b861f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pools/Pool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function pop(): Connection
241241
return null;
242242
}, timeout: self::LOCK_TIMEOUT_IN_SECODNS);
243243

244-
if ($newConnection) {
244+
if ($newConnection instanceof Connection) {
245245
return $newConnection;
246246
}
247247

0 commit comments

Comments
 (0)