Skip to content

Commit f48a262

Browse files
authored
Use Hyperf\Collection\Enumerable instead of Hyperf\ViewEngine\Contract\Enumerable (#6860)
1 parent 85bea22 commit f48a262

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/RedisProxyTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ public function testRedisPipeline()
197197
}
198198

199199
/**
200-
* @param mixed $optinos
200+
* @param mixed $options
201201
* @return \Redis|Redis
202202
*/
203-
private function getRedis($optinos = [])
203+
private function getRedis($options = [])
204204
{
205205
$container = Mockery::mock(Container::class);
206206
$container->shouldReceive('has')->with(StdoutLoggerInterface::class)->andReturnFalse();
@@ -211,7 +211,7 @@ private function getRedis($optinos = [])
211211
'auth' => null,
212212
'port' => 6379,
213213
'db' => 0,
214-
'options' => $optinos,
214+
'options' => $options,
215215
'pool' => [
216216
'min_connections' => 1,
217217
'max_connections' => 30,

0 commit comments

Comments
 (0)