Skip to content

Commit 13d7272

Browse files
committed
added "Annotations" namespace for mongodb
1 parent 20c2531 commit 13d7272

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/doc/groups.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Group extends BaseGroup
8585
namespace MyProject\MyBundle\Document;
8686

8787
use FOS\UserBundle\Document\Group as BaseGroup;
88-
use Doctrine\ODM\MongoDB\Mapping as MongoDB;
88+
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
8989

9090
/**
9191
* @MongoDB\Document
@@ -170,7 +170,7 @@ class User extends BaseUser
170170
namespace MyProject\MyBundle\Document;
171171

172172
use FOS\UserBundle\Document\User as BaseUser;
173-
use Doctrine\ODM\MongoDB\Mapping as MongoDB;
173+
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
174174

175175
/**
176176
* @MongoDB\Document

0 commit comments

Comments
 (0)