@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * Increment the value of an item in the cache. |
| 57 | 57 | * |
| 58 | 58 | * @param string $key |
| 59 | - * @param mixed $value |
|
| 59 | + * @param integer $value |
|
| 60 | 60 | * |
| 61 | 61 | * @return int|bool |
| 62 | 62 | */ |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * Decrement the value of an item in the cache. |
| 78 | 78 | * |
| 79 | 79 | * @param string $key |
| 80 | - * @param mixed $value |
|
| 80 | + * @param integer $value |
|
| 81 | 81 | * |
| 82 | 82 | * @return int|bool |
| 83 | 83 | */ |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * @param $handler |
|
| 125 | + * @param resource $handler |
|
| 126 | 126 | * |
| 127 | 127 | * @throws \RuntimeException |
| 128 | 128 | */ |
@@ -380,7 +380,7 @@ |
||
| 380 | 380 | * @param string $query |
| 381 | 381 | * @param array $bindings |
| 382 | 382 | * |
| 383 | - * @return int|mixed |
|
| 383 | + * @return integer |
|
| 384 | 384 | */ |
| 385 | 385 | public function insert($query, $bindings = []) |
| 386 | 386 | { |
@@ -51,6 +51,8 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * {@inheritdoc} |
| 54 | + * @param string $queue |
|
| 55 | + * @param DatabaseJobRecord $job |
|
| 54 | 56 | */ |
| 55 | 57 | protected function marshalJob($queue, $job) |
| 56 | 58 | { |
@@ -63,6 +65,7 @@ discard block |
||
| 63 | 65 | |
| 64 | 66 | /** |
| 65 | 67 | * {@inheritdoc} |
| 68 | + * @param string $queue |
|
| 66 | 69 | */ |
| 67 | 70 | protected function getNextAvailableJob($queue) |
| 68 | 71 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @return bool |
|
| 53 | + * @return boolean|null |
|
| 54 | 54 | */ |
| 55 | 55 | public function create() |
| 56 | 56 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | /** |
| 116 | 116 | * Specify a secondary index for the current bucket. |
| 117 | 117 | * |
| 118 | - * @param array $columns the JSON fields to index. |
|
| 118 | + * @param string[] $columns the JSON fields to index. |
|
| 119 | 119 | * @param string $name the name of the index. |
| 120 | 120 | * @param string $whereClause the WHERE clause of the index. |
| 121 | 121 | * @param boolean $ignoreIfExist if a secondary index already exists with that name, an exception will be |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | - * @param $index |
|
| 153 | + * @param string|null $index |
|
| 154 | 154 | * |
| 155 | 155 | * @return string |
| 156 | 156 | */ |