There was an error while loading. Please reload this page.
1 parent 4ddda7c commit cc536fdCopy full SHA for cc536fd
README.md
@@ -35,10 +35,10 @@ php composer.phar require --prefer-dist yiisoft/yii2-mongodb
35
or add
36
37
```
38
-"yiisoft/yii2-mongodb": "~2.1.0"
+"yiisoft/yii2-mongodb": "~3.0.0"
39
40
41
-to the require section of your composer.json.
+to the `require` section of your `composer.json`.
42
43
Configuration
44
-------------
src/file/Cursor.php
@@ -55,6 +55,7 @@ public function current()
55
* This method is required by the interface [[\Countable]].
56
* @return int elements count.
57
*/
58
+ #[\ReturnTypeWillChange]
59
public function count()
60
{
61
return count($this->cursor);
0 commit comments