@@ -25,8 +25,12 @@ class BloomFilterInsertCommandTest extends BaseTestIntegration
25
25
* @param array $options
26
26
* @param array $expectedResult
27
27
*/
28
- public function testInsertSuccessfullyWithNoOptions (string $ key , array $ items , array $ options , array $ expectedResult )
29
- {
28
+ public function testInsertSuccessfullyWithNoOptions (
29
+ string $ key ,
30
+ array $ items ,
31
+ array $ options ,
32
+ array $ expectedResult
33
+ ): void {
30
34
$ result = static ::$ reBloomClient ->bloomFilterInsert ($ key , $ items , $ options );
31
35
$ this ->assertSame ($ expectedResult , $ result );
32
36
}
@@ -38,8 +42,12 @@ public function testInsertSuccessfullyWithNoOptions(string $key, array $items, a
38
42
* @param array $options
39
43
* @param array $expectedResult
40
44
*/
41
- public function testInsertSuccessfullyWithOptions (string $ key , array $ items , array $ options , array $ expectedResult )
42
- {
45
+ public function testInsertSuccessfullyWithOptions (
46
+ string $ key ,
47
+ array $ items ,
48
+ array $ options ,
49
+ array $ expectedResult
50
+ ): void {
43
51
$ result = static ::$ reBloomClient ->bloomFilterInsert ($ key , $ items , $ options );
44
52
$ this ->assertSame ($ expectedResult , $ result );
45
53
}
@@ -50,7 +58,7 @@ public function testInsertSuccessfullyWithOptions(string $key, array $items, arr
50
58
* @param array $items
51
59
* @param array $options
52
60
*/
53
- public function testInsertException (string $ key , array $ items , array $ options )
61
+ public function testInsertException (string $ key , array $ items , array $ options ): void
54
62
{
55
63
$ this ->expectException (ResponseException::class);
56
64
static ::$ reBloomClient ->bloomFilterInsert ($ key , $ items , $ options );
@@ -112,7 +120,7 @@ public function getSuccessWithOptionsDataProvider(): array
112
120
];
113
121
}
114
122
115
- public function getDataProviderForException ()
123
+ public function getDataProviderForException (): array
116
124
{
117
125
return [
118
126
[ // fails cause with NOCREATE filter must exist
0 commit comments