We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c0958 commit aa72f30Copy full SHA for aa72f30
src/MongoDBServiceProvider.php
@@ -4,6 +4,7 @@
4
5
namespace MongoDB\Laravel;
6
7
+use Closure;
8
use Illuminate\Cache\CacheManager;
9
use Illuminate\Cache\Repository;
10
use Illuminate\Filesystem\FilesystemAdapter;
@@ -122,7 +123,7 @@ private function registerFlysystemAdapter(): void
122
123
if (is_string($bucket)) {
124
// Resolves the "bucket" service
125
$bucket = $app->get($bucket);
- } elseif ($bucket instanceof \Closure) {
126
+ } elseif ($bucket instanceof Closure) {
127
$bucket = $bucket($app, $config);
128
}
129
0 commit comments