Skip to content

Commit b6a6fa4

Browse files
authored
Merge pull request #616 from ctaverne/patch-1
PHP7 - Int annotation class is a reserved class name
2 parents 61bc912 + f6496f7 commit b6a6fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/12b-mapping_mongodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Comment extends BaseComment implements VotableCommentInterface
5454
// .. fields
5555

5656
/**
57-
* @MongoDB\Int
57+
* @MongoDB\Field(type="int")
5858
* @var int
5959
*/
6060
protected $score = 0;

0 commit comments

Comments
 (0)