Skip to content

Commit

Permalink
Fix MongoDB GridFS service documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored Jan 24, 2025
1 parent 6493f7f commit 4b6253b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/6-gridfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,11 @@ For a more advanced configuration, create a service for
services:
mongodb_client:
class: 'MongoDB\Client'
arguments:
- '%env(MONGODB_URI)%'
arguments: ['%env(MONGODB_URI)%']
mongodb_database:
class: 'MongoDB\Database'
factory: ['mongodb_client', 'selectDatabase']
factory: ['@mongodb_client', 'selectDatabase']
arguments: ['%env(MONGODB_DB)%']
mongodb_gridfs_bucket:
Expand Down

0 comments on commit 4b6253b

Please sign in to comment.