File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class ReplaceOne implements WriteModelInterface
14
14
15
15
/**
16
16
* @param $filter
17
- * @param $replacement
17
+ * @param array|object $replacement
18
18
* @param array $options
19
19
*/
20
20
public function __construct (array $ filter , $ replacement , array $ options = [])
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ class Update implements WriteModelInterface
25
25
26
26
/**
27
27
* @param array $filter
28
- * @param array $update
28
+ * @param array|object $update
29
29
* @param array $options
30
30
*/
31
- public function __construct (array $ filter , array $ update , array $ options = [])
31
+ public function __construct (array $ filter , $ update , array $ options = [])
32
32
{
33
33
$ this ->filter = $ filter ;
34
34
$ this ->update = $ update ;
You can’t perform that action at this time.
0 commit comments