@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Picks a shard for the given distribution value. |
| 34 | 34 | * |
| 35 | - * @param string|int $distributionValue |
|
| 35 | + * @param string $distributionValue |
|
| 36 | 36 | * @param \Doctrine\DBAL\Sharding\PoolingShardConnection $conn |
| 37 | 37 | * |
| 38 | 38 | * @return string|int |
@@ -180,7 +180,7 @@ |
||
| 180 | 180 | /** |
| 181 | 181 | * @param \Doctrine\DBAL\Schema\Schema $schema |
| 182 | 182 | * |
| 183 | - * @return array |
|
| 183 | + * @return Schema[] |
|
| 184 | 184 | */ |
| 185 | 185 | private function partitionSchema(Schema $schema) |
| 186 | 186 | { |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * |
| 278 | 278 | * @param int $columnIndex |
| 279 | 279 | * |
| 280 | - * @return mixed A single column from the next row of a result set or FALSE if there are no more rows. |
|
| 280 | + * @return string|boolean A single column from the next row of a result set or FALSE if there are no more rows. |
|
| 281 | 281 | */ |
| 282 | 282 | public function fetchColumn($columnIndex = 0) |
| 283 | 283 | { |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | * |
| 137 | 137 | * @param object $var |
| 138 | 138 | * |
| 139 | - * @return mixed |
|
| 139 | + * @return stdClass |
|
| 140 | 140 | */ |
| 141 | 141 | private static function fillReturnWithClassAttributes($var, stdClass $return, int $maxDepth) |
| 142 | 142 | { |
@@ -68,8 +68,8 @@ discard block |
||
| 68 | 68 | /** |
| 69 | 69 | * Adds an event listener that listens on the specified events. |
| 70 | 70 | * |
| 71 | - * @param string|string[] $events The event(s) to listen on. |
|
| 72 | - * @param object $listener The listener object. |
|
| 71 | + * @param string[] $events The event(s) to listen on. |
|
| 72 | + * @param EventSubscriber $listener The listener object. |
|
| 73 | 73 | * |
| 74 | 74 | * @return void |
| 75 | 75 | */ |
@@ -88,8 +88,8 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * Removes an event listener from the specified events. |
| 90 | 90 | * |
| 91 | - * @param string|string[] $events |
|
| 92 | - * @param object $listener |
|
| 91 | + * @param string[] $events |
|
| 92 | + * @param EventSubscriber $listener |
|
| 93 | 93 | * |
| 94 | 94 | * @return void |
| 95 | 95 | */ |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * |
| 28 | 28 | * @param \Illuminate\Cache\ApcWrapper $apc |
| 29 | 29 | * @param string $prefix |
| 30 | - * @return void |
|
| 30 | + * @return Store |
|
| 31 | 31 | */ |
| 32 | 32 | public function __construct(ApcWrapper $apc, $prefix = '') |
| 33 | 33 | { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * |
| 56 | 56 | * @param string $key |
| 57 | 57 | * @param mixed $value |
| 58 | - * @param float|int $minutes |
|
| 58 | + * @param integer $minutes |
|
| 59 | 59 | * @return void |
| 60 | 60 | */ |
| 61 | 61 | public function put($key, $value, $minutes) |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * Increment the value of an item in the cache. |
| 68 | 68 | * |
| 69 | 69 | * @param string $key |
| 70 | - * @param mixed $value |
|
| 70 | + * @param integer $value |
|
| 71 | 71 | * @return int|bool |
| 72 | 72 | */ |
| 73 | 73 | public function increment($key, $value = 1) |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * Decrement the value of an item in the cache. |
| 80 | 80 | * |
| 81 | 81 | * @param string $key |
| 82 | - * @param mixed $value |
|
| 82 | + * @param integer $value |
|
| 83 | 83 | * @return int|bool |
| 84 | 84 | */ |
| 85 | 85 | public function decrement($key, $value = 1) |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * Create a new APC wrapper instance. |
| 16 | 16 | * |
| 17 | - * @return void |
|
| 17 | + * @return ApcWrapper |
|
| 18 | 18 | */ |
| 19 | 19 | public function __construct() |
| 20 | 20 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * Increment the value of an item in the cache. |
| 50 | 50 | * |
| 51 | 51 | * @param string $key |
| 52 | - * @param mixed $value |
|
| 52 | + * @param integer $value |
|
| 53 | 53 | * @return int|bool |
| 54 | 54 | */ |
| 55 | 55 | public function increment($key, $value) |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * Decrement the value of an item in the cache. |
| 62 | 62 | * |
| 63 | 63 | * @param string $key |
| 64 | - * @param mixed $value |
|
| 64 | + * @param integer $value |
|
| 65 | 65 | * @return int|bool |
| 66 | 66 | */ |
| 67 | 67 | public function decrement($key, $value) |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @param string $key |
| 33 | 33 | * @param mixed $value |
| 34 | - * @param float|int $minutes |
|
| 34 | + * @param integer $minutes |
|
| 35 | 35 | * @return void |
| 36 | 36 | */ |
| 37 | 37 | public function put($key, $value, $minutes) |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * Increment the value of an item in the cache. |
| 44 | 44 | * |
| 45 | 45 | * @param string $key |
| 46 | - * @param mixed $value |
|
| 46 | + * @param integer $value |
|
| 47 | 47 | * @return int |
| 48 | 48 | */ |
| 49 | 49 | public function increment($key, $value = 1) |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * Decrement the value of an item in the cache. |
| 59 | 59 | * |
| 60 | 60 | * @param string $key |
| 61 | - * @param mixed $value |
|
| 61 | + * @param integer $value |
|
| 62 | 62 | * @return int |
| 63 | 63 | */ |
| 64 | 64 | public function decrement($key, $value = 1) |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * Get a cache driver instance. |
| 63 | 63 | * |
| 64 | 64 | * @param string|null $driver |
| 65 | - * @return mixed |
|
| 65 | + * @return \Illuminate\Contracts\Cache\Repository |
|
| 66 | 66 | */ |
| 67 | 67 | public function driver($driver = null) |
| 68 | 68 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * Create an instance of the APC cache driver. |
| 125 | 125 | * |
| 126 | 126 | * @param array $config |
| 127 | - * @return \Illuminate\Cache\ApcStore |
|
| 127 | + * @return Repository |
|
| 128 | 128 | */ |
| 129 | 129 | protected function createApcDriver(array $config) |
| 130 | 130 | { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | /** |
| 137 | 137 | * Create an instance of the array cache driver. |
| 138 | 138 | * |
| 139 | - * @return \Illuminate\Cache\ArrayStore |
|
| 139 | + * @return Repository |
|
| 140 | 140 | */ |
| 141 | 141 | protected function createArrayDriver() |
| 142 | 142 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * Create an instance of the file cache driver. |
| 148 | 148 | * |
| 149 | 149 | * @param array $config |
| 150 | - * @return \Illuminate\Cache\FileStore |
|
| 150 | + * @return Repository |
|
| 151 | 151 | */ |
| 152 | 152 | protected function createFileDriver(array $config) |
| 153 | 153 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | * Create an instance of the Memcached cache driver. |
| 159 | 159 | * |
| 160 | 160 | * @param array $config |
| 161 | - * @return \Illuminate\Cache\MemcachedStore |
|
| 161 | + * @return Repository |
|
| 162 | 162 | */ |
| 163 | 163 | protected function createMemcachedDriver(array $config) |
| 164 | 164 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | /** |
| 178 | 178 | * Create an instance of the Null cache driver. |
| 179 | 179 | * |
| 180 | - * @return \Illuminate\Cache\NullStore |
|
| 180 | + * @return Repository |
|
| 181 | 181 | */ |
| 182 | 182 | protected function createNullDriver() |
| 183 | 183 | { |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | * Create an instance of the Redis cache driver. |
| 189 | 189 | * |
| 190 | 190 | * @param array $config |
| 191 | - * @return \Illuminate\Cache\RedisStore |
|
| 191 | + * @return Repository |
|
| 192 | 192 | */ |
| 193 | 193 | protected function createRedisDriver(array $config) |
| 194 | 194 | { |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * Create an instance of the database cache driver. |
| 204 | 204 | * |
| 205 | 205 | * @param array $config |
| 206 | - * @return \Illuminate\Cache\DatabaseStore |
|
| 206 | + * @return Repository |
|
| 207 | 207 | */ |
| 208 | 208 | protected function createDatabaseDriver(array $config) |
| 209 | 209 | { |