@@ -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 | * |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * Register new JOIN with specified type with set of on conditions (linking one table to |
82 | 82 | * another, no parametric on conditions allowed here). |
83 | 83 | * |
84 | - * @param string|QueryBuilder $type Join type. Allowed values, LEFT, RIGHT, INNER and etc. |
|
84 | + * @param string $type Join type. Allowed values, LEFT, RIGHT, INNER and etc. |
|
85 | 85 | * @param string $outer Joined table name (without prefix), may include AS |
86 | 86 | * statement. |
87 | 87 | * @param string $alias Joined table or query alias. |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @link http://www.w3schools.com/sql/sql_join_inner.asp |
111 | 111 | * @see join() |
112 | 112 | * |
113 | - * @param string|QueryBuilder $outer Joined table name (without prefix), may include AS |
|
113 | + * @param string $outer Joined table name (without prefix), may include AS |
|
114 | 114 | * statement. |
115 | 115 | * @param string $alias Joined table or query alias. |
116 | 116 | * |
@@ -220,6 +220,7 @@ discard block |
||
220 | 220 | * together, no parametric values allowed. |
221 | 221 | * |
222 | 222 | * @param mixed ...$args [(column, outer column), (column, operator, outer column)] |
223 | + * @param null|string $args |
|
223 | 224 | * |
224 | 225 | * @return $this |
225 | 226 | * |
@@ -361,7 +362,7 @@ discard block |
||
361 | 362 | * @param string $joiner Boolean joiner (AND | OR). |
362 | 363 | * @param array $parameters Set of parameters collected from where functions. |
363 | 364 | * @param array $tokens Array to aggregate compiled tokens. Reference. |
364 | - * @param \Closure|null|callable $wrapper Callback or closure used to wrap/collect every |
|
365 | + * @param callable $wrapper Callback or closure used to wrap/collect every |
|
365 | 366 | * potential parameter. |
366 | 367 | * |
367 | 368 | * @throws BuilderException |