@@ -346,7 +346,7 @@ |
||
346 | 346 | * @param string $joiner Boolean joiner (AND | OR). |
347 | 347 | * @param array $parameters Set of parameters collected from where functions. |
348 | 348 | * @param array $tokens Array to aggregate compiled tokens. Reference. |
349 | - * @param \Closure|null|callable $wrapper Callback or closure used to wrap/collect every |
|
349 | + * @param callable $wrapper Callback or closure used to wrap/collect every |
|
350 | 350 | * potential parameter. |
351 | 351 | * |
352 | 352 | * @throws BuilderException |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * |
95 | 95 | * @param string|\MongoId $id Primary key value. |
96 | 96 | * |
97 | - * @return CompositableInterface|Document|null |
|
97 | + * @return CompositableInterface|null |
|
98 | 98 | */ |
99 | 99 | public function findByPK($id) |
100 | 100 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @param array $query Fields and conditions to query by. |
108 | 108 | * @param array $sortBy Always specify sort by to ensure that results are stable. |
109 | 109 | * |
110 | - * @return CompositableInterface|Document|null |
|
110 | + * @return CompositableInterface|null |
|
111 | 111 | */ |
112 | 112 | public function findOne(array $query = [], array $sortBy = []) |
113 | 113 | { |
@@ -375,7 +375,7 @@ |
||
375 | 375 | * Execute statement. |
376 | 376 | * |
377 | 377 | * @param string $statement |
378 | - * @param array $parameters |
|
378 | + * @param string[] $parameters |
|
379 | 379 | * |
380 | 380 | * @return \PDOStatement |
381 | 381 | * |