@@ -26,7 +26,7 @@ public function setUp(): void
26
26
$ this ->loop = new StreamSelectLoop ();
27
27
}
28
28
29
- public function testPing ()
29
+ public function testPing (): void
30
30
{
31
31
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
32
32
@@ -38,7 +38,7 @@ public function testPing()
38
38
$ this ->assertEquals ('PONG ' , $ ret );
39
39
}
40
40
41
- public function testPingLazy ()
41
+ public function testPingLazy (): void
42
42
{
43
43
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
44
44
@@ -53,7 +53,7 @@ public function testPingLazy()
53
53
/**
54
54
* @doesNotPerformAssertions
55
55
*/
56
- public function testPingLazyWillNotBlockLoop ()
56
+ public function testPingLazyWillNotBlockLoop (): void
57
57
{
58
58
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
59
59
@@ -65,7 +65,7 @@ public function testPingLazyWillNotBlockLoop()
65
65
/**
66
66
* @doesNotPerformAssertions
67
67
*/
68
- public function testLazyClientWithoutCommandsWillNotBlockLoop ()
68
+ public function testLazyClientWithoutCommandsWillNotBlockLoop (): void
69
69
{
70
70
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
71
71
@@ -74,7 +74,7 @@ public function testLazyClientWithoutCommandsWillNotBlockLoop()
74
74
unset($ redis );
75
75
}
76
76
77
- public function testMgetIsNotInterpretedAsSubMessage ()
77
+ public function testMgetIsNotInterpretedAsSubMessage (): void
78
78
{
79
79
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
80
80
@@ -86,7 +86,7 @@ public function testMgetIsNotInterpretedAsSubMessage()
86
86
await ($ promise , $ this ->loop );
87
87
}
88
88
89
- public function testPipeline ()
89
+ public function testPipeline (): void
90
90
{
91
91
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
92
92
@@ -98,7 +98,7 @@ public function testPipeline()
98
98
await ($ promise , $ this ->loop );
99
99
}
100
100
101
- public function testInvalidCommand ()
101
+ public function testInvalidCommand (): void
102
102
{
103
103
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
104
104
$ promise = $ redis ->doesnotexist (1 , 2 , 3 );
@@ -112,7 +112,7 @@ public function testInvalidCommand()
112
112
await ($ promise , $ this ->loop );
113
113
}
114
114
115
- public function testMultiExecEmpty ()
115
+ public function testMultiExecEmpty (): void
116
116
{
117
117
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
118
118
$ redis ->multi ()->then ($ this ->expectCallableOnceWith ('OK ' ));
@@ -121,7 +121,7 @@ public function testMultiExecEmpty()
121
121
await ($ promise , $ this ->loop );
122
122
}
123
123
124
- public function testMultiExecQueuedExecHasValues ()
124
+ public function testMultiExecQueuedExecHasValues (): void
125
125
{
126
126
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
127
127
@@ -135,7 +135,7 @@ public function testMultiExecQueuedExecHasValues()
135
135
await ($ promise , $ this ->loop );
136
136
}
137
137
138
- public function testPubSub ()
138
+ public function testPubSub (): void
139
139
{
140
140
$ consumer = new RedisClient ($ this ->uri , null , $ this ->loop );
141
141
$ producer = new RedisClient ($ this ->uri , null , $ this ->loop );
@@ -156,7 +156,7 @@ public function testPubSub()
156
156
await ($ deferred ->promise (), $ this ->loop , 0.1 );
157
157
}
158
158
159
- public function testClose ()
159
+ public function testClose (): void
160
160
{
161
161
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
162
162
@@ -167,7 +167,7 @@ public function testClose()
167
167
$ redis ->get ('willBeRejectedRightAway ' )->then (null , $ this ->expectCallableOnce ());
168
168
}
169
169
170
- public function testCloseLazy ()
170
+ public function testCloseLazy (): void
171
171
{
172
172
$ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
173
173
0 commit comments