Skip to content

Commit fb6f5b3

Browse files
mkikenisfedorov
authored andcommitted
Remove non-existent constants
1 parent 8eb9173 commit fb6f5b3

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

redis/RedisCluster.php

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,9 @@
1111
*/
1212
class RedisCluster
1313
{
14-
public const AFTER = 'after';
15-
public const BEFORE = 'before';
16-
1714
/**
1815
* Options
1916
*/
20-
public const OPT_SERIALIZER = 1;
21-
public const OPT_PREFIX = 2;
22-
public const OPT_READ_TIMEOUT = 3;
23-
public const OPT_SCAN = 4;
2417
public const OPT_SLAVE_FAILOVER = 5;
2518

2619
/**
@@ -31,48 +24,6 @@ class RedisCluster
3124
public const FAILOVER_DISTRIBUTE = 2;
3225
public const FAILOVER_DISTRIBUTE_SLAVES = 3;
3326

34-
/**
35-
* SCAN options
36-
*/
37-
public const SCAN_NORETRY = 0;
38-
public const SCAN_RETRY = 1;
39-
40-
/**
41-
* @since 5.3.0
42-
*/
43-
public const SCAN_PREFIX = 2;
44-
45-
/**
46-
* @since 5.3.0
47-
*/
48-
public const SCAN_NOPREFIX = 3;
49-
50-
/**
51-
* Serializers
52-
*/
53-
public const SERIALIZER_NONE = 0;
54-
public const SERIALIZER_PHP = 1;
55-
public const SERIALIZER_IGBINARY = 2;
56-
public const SERIALIZER_MSGPACK = 3;
57-
public const SERIALIZER_JSON = 4;
58-
59-
/**
60-
* Multi
61-
*/
62-
public const ATOMIC = 0;
63-
public const MULTI = 1;
64-
public const PIPELINE = 2;
65-
66-
/**
67-
* Type
68-
*/
69-
public const REDIS_NOT_FOUND = 0;
70-
public const REDIS_STRING = 1;
71-
public const REDIS_SET = 2;
72-
public const REDIS_LIST = 3;
73-
public const REDIS_ZSET = 4;
74-
public const REDIS_HASH = 5;
75-
7627
/**
7728
* Creates a Redis Cluster client
7829
*

0 commit comments

Comments
 (0)