From cb0077d0d554137d7d4eccbc19e31b8615f49352 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Tue, 24 Feb 2015 20:09:31 +0000 Subject: [PATCH] MongoID constructor accepts a MongoId instance https://jira.mongodb.org/browse/PHP-966 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335992 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongoid/construct.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/mongo/mongoid/construct.xml b/reference/mongo/mongoid/construct.xml index 1c2c1edda4..09067ef630 100644 --- a/reference/mongo/mongoid/construct.xml +++ b/reference/mongo/mongoid/construct.xml @@ -11,7 +11,7 @@ &reftitle.description; public MongoId::__construct - stringid&null; + string|MongoIdid&null; @@ -25,7 +25,8 @@ - A string to use as the id. Must be 24 hexidecimal characters. + A string (must be 24 hexadecimal characters) or a + MongoId instance.