Skip to content

Commit adf70bc

Browse files
committed
minor #6192 fix MongoDB shell syntax highlighting (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- fix MongoDB shell syntax highlighting Commits ------- 5ec6841 fix MongoDB shell syntax highlighting
2 parents c012b1e + 5ec6841 commit adf70bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/doctrine/mongodb_session_storage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Because MongoDB uses dynamic collection schemas, you do not need to do anything
162162
session collection. However, you may want to add an index to improve garbage collection performance.
163163
From the `MongoDB shell`_:
164164

165-
.. code-block:: text
165+
.. code-block:: javascript
166166
167167
use session_db
168168
db.session.ensureIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )

0 commit comments

Comments
 (0)