We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce1410 commit ee2f026Copy full SHA for ee2f026
src/Write/Model/ReplaceOne.php
@@ -14,7 +14,7 @@ class ReplaceOne implements WriteModelInterface
14
15
/**
16
* @param $filter
17
- * @param $replacement
+ * @param array|object $replacement
18
* @param array $options
19
*/
20
public function __construct(array $filter, $replacement, array $options = [])
src/Write/Model/Update.php
@@ -25,10 +25,10 @@ class Update implements WriteModelInterface
25
26
27
* @param array $filter
28
- * @param array $update
+ * @param array|object $update
29
30
31
- public function __construct(array $filter, array $update, array $options = [])
+ public function __construct(array $filter, $update, array $options = [])
32
{
33
$this->filter = $filter;
34
$this->update = $update;
0 commit comments