Skip to content

Commit c3fec81

Browse files
author
Thibaudeau Pierre
committed
review @soyuka
1 parent 7e049f3 commit c3fec81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/mongodb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
236236
* @ODM\Document
237237
*/
238238
#[ApiResource]
239-
#[GetCollection(doctrineMongodb: ['execute_options' => ['allowDiskUse' => true]])]
239+
#[GetCollection(extraProperties: ['doctrineMongodb' => ['execute_options' => ['allowDiskUse' => true]]])]
240240
class Offer
241241
{
242242
// ...
@@ -257,7 +257,7 @@ use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
257257
/**
258258
* @ODM\Document
259259
*/
260-
#[ApiResource(doctrineMongodb: ['execute_options' => ['allowDiskUse' => true]])]
260+
#[ApiResource(extraProperties: ['doctrineMongodb' => ['execute_options' => ['allowDiskUse' => true]]])]
261261
class Offer
262262
{
263263
// ...

0 commit comments

Comments
 (0)