Skip to content

Commit fb6bc68

Browse files
author
Chris Cho
committed
PRR fix
1 parent 7d7f6ef commit fb6bc68

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/eloquent-models/model-class.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,7 @@ less than three years ago:
202202

203203
.. code-block:: php
204204

205-
Planet::where(
206-
'discovery_dt', '>',
207-
new DateTime('-3 years')
208-
)->get();
209-
205+
Planet::where( 'discovery_dt', '>', new DateTime('-3 years'))->get();
210206

211207
To learn more about MongoDB's data types, see :manual:`BSON Types </reference/bson-types/>`
212208
in the MongoDB server docs.

0 commit comments

Comments
 (0)