@@ -12,7 +12,7 @@ |
||
12 | 12 | $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); |
13 | 13 | |
14 | 14 | if (static::$is_initialized == true) { |
15 | - return; |
|
15 | + return; |
|
16 | 16 | } |
17 | 17 | $pool->internalAddGeneratedFile(hex2bin( |
18 | 18 | "0abf010a1170726f746f732f646963652e70726f746f121b4d6561645374" . |
@@ -6,11 +6,18 @@ |
||
6 | 6 | |
7 | 7 | class RedisClient extends Client |
8 | 8 | { |
9 | + /** |
|
10 | + * @param string $key |
|
11 | + * @param integer $inc |
|
12 | + */ |
|
9 | 13 | public function hincrby($key, $field, $inc) |
10 | 14 | { |
11 | 15 | return true; |
12 | 16 | } |
13 | 17 | |
18 | + /** |
|
19 | + * @param string $key |
|
20 | + */ |
|
14 | 21 | public function hgetall($key) |
15 | 22 | { |
16 | 23 | return []; |
@@ -16,4 +16,4 @@ |
||
16 | 16 | return []; |
17 | 17 | } |
18 | 18 | } |
19 | - |
|
20 | 19 | \ No newline at end of file |
20 | + |
|
21 | 21 | \ No newline at end of file |