Skip to content

Commit 288bc41

Browse files
authored
Fix fatal error on mongodb driver
Fatal error: phpFastCache\Drivers\Mongodb\Driver and phpFastCache\Core\Pool\DriverBaseTrait define the same property ($instance) in the composition of phpFastCache\Drivers\Mongodb\Driver. However, the definition differs and is considered incompatible.
1 parent b6fd479 commit 288bc41

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/phpFastCache/Drivers/Mongodb/Driver.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
*/
3434
class Driver extends DriverAbstract
3535
{
36-
/**
37-
* @var MongodbClient
38-
*/
39-
public $instance;
40-
4136
/**
4237
* Driver constructor.
4338
* @param array $config
@@ -220,4 +215,4 @@ public function getStats()
220215

221216
return $stats;
222217
}
223-
}
218+
}

0 commit comments

Comments
 (0)