Skip to content

Commit 55b9698

Browse files
GromNaNmaxhelias
authored andcommitted
Fix MongoDB GridFS service documentation
1 parent 6493f7f commit 55b9698

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/6-gridfs.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ For a more advanced configuration, create a service for
6666
services:
6767
mongodb_client:
6868
class: 'MongoDB\Client'
69-
arguments:
70-
- '%env(MONGODB_URI)%'
69+
arguments: ['%env(MONGODB_URI)%']
7170
7271
mongodb_database:
7372
class: 'MongoDB\Database'
74-
factory: ['mongodb_client', 'selectDatabase']
73+
factory: ['@mongodb_client', 'selectDatabase']
7574
arguments: ['%env(MONGODB_DB)%']
7675
7776
mongodb_gridfs_bucket:

0 commit comments

Comments
 (0)