File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/Phpfastcache/Drivers/Couchdb Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616namespace Phpfastcache \Drivers \Couchdb ;
1717
1818use Doctrine \CouchDB \{
19- CouchDBClient as CouchdbClient , CouchDBException
19+ CouchDBClient , CouchDBException
2020};
2121use Phpfastcache \Core \Pool \{
2222 DriverBaseTrait , ExtendedCacheItemPoolInterface
@@ -45,7 +45,7 @@ class Driver implements ExtendedCacheItemPoolInterface
4545 */
4646 public function driverCheck (): bool
4747 {
48- return \class_exists (' Doctrine\CouchDB\ CouchDBClient' );
48+ return \class_exists (CouchDBClient::class );
4949 }
5050
5151 /**
@@ -54,7 +54,7 @@ public function driverCheck(): bool
5454 */
5555 protected function driverConnect (): bool
5656 {
57- if ($ this ->instance instanceof CouchdbClient ) {
57+ if ($ this ->instance instanceof CouchDBClient ) {
5858 throw new PhpfastcacheLogicException ('Already connected to Couchdb server ' );
5959 }
6060
You can’t perform that action at this time.
0 commit comments