@@ -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 |
@@ -228,7 +228,7 @@ |
||
| 228 | 228 | * Execute statement. |
| 229 | 229 | * |
| 230 | 230 | * @param string $statement |
| 231 | - * @param array $parameters |
|
| 231 | + * @param string[] $parameters |
|
| 232 | 232 | * @return \PDOStatement |
| 233 | 233 | */ |
| 234 | 234 | protected function run($statement, array $parameters = []) |
@@ -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 | { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | * $post = new Post(); |
| 227 | 227 | * $post->user = new User(); |
| 228 | 228 | * |
| 229 | - * @return RelationInterface[]|\Generator |
|
| 229 | + * @return \Generator |
|
| 230 | 230 | */ |
| 231 | 231 | protected function leadingRelations() |
| 232 | 232 | { |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | * $post = new Post(); |
| 246 | 246 | * $post->comments->add(new Comment()); |
| 247 | 247 | * |
| 248 | - * @return RelationInterface[]|\Generator |
|
| 248 | + * @return \Generator |
|
| 249 | 249 | */ |
| 250 | 250 | protected function dependedRelations() |
| 251 | 251 | { |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | * |
| 293 | 293 | * @param array|null $query |
| 294 | 294 | * |
| 295 | - * @return EntityInterface|null |
|
| 295 | + * @return null|RecordInterface |
|
| 296 | 296 | */ |
| 297 | 297 | public function findOne(array $query = null) |
| 298 | 298 | { |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | * order to cache request data. |
| 311 | 311 | * |
| 312 | 312 | * @param string $cacheKey |
| 313 | - * @param int|\DateInterval $ttl |
|
| 313 | + * @param integer $ttl |
|
| 314 | 314 | * @param CacheItemPoolInterface|null $pool |
| 315 | 315 | * |
| 316 | 316 | * @return RecordIterator|RecordInterface[] |
@@ -187,7 +187,7 @@ |
||
| 187 | 187 | * Delete multiple records, strict compaction, make sure exactly same instance is given. Method |
| 188 | 188 | * would not autoload instance and will mark it as partial. |
| 189 | 189 | * |
| 190 | - * @param array|\Traversable $records |
|
| 190 | + * @param RecordInterface[] $records |
|
| 191 | 191 | */ |
| 192 | 192 | public function deleteMultiple($records) |
| 193 | 193 | { |