Skip to content

Commit 418bb53

Browse files
authored
Use int type instead of integer deprecated type (#1252)
1 parent 639a7e4 commit 418bb53

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
@@ -111,7 +111,7 @@ use Symfony\Component\Validator\Constraints as Assert;
111111
class Product
112112
{
113113
/**
114-
* @ODM\Id(strategy="INCREMENT", type="integer")
114+
* @ODM\Id(strategy="INCREMENT", type="int")
115115
*/
116116
private $id;
117117

@@ -170,7 +170,7 @@ use Symfony\Component\Validator\Constraints as Assert;
170170
class Offer
171171
{
172172
/**
173-
* @ODM\Id(strategy="INCREMENT", type="integer")
173+
* @ODM\Id(strategy="INCREMENT", type="int")
174174
*/
175175
private $id;
176176

0 commit comments

Comments
 (0)