Skip to content

Commit

Permalink
adjust syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aburakovskiy committed Jan 15, 2018
1 parent 67076b6 commit 31a379b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/M6Web/Component/RedisMock/RedisMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public function sunion($key)
{
$this->stopPipeline();
$keys = is_array($key) ? $key : func_get_args();
$result = array();
$result = [];
foreach ($keys as $key) {
$result = array_merge($result, $this->smembers($key));
}
Expand All @@ -327,7 +327,7 @@ public function sinter($key)
{
$this->stopPipeline();
$keys = is_array($key) ? $key : func_get_args();
$result = array();
$result = [];
foreach ($keys as $key) {
$result[] = $this->smembers($key);
}
Expand Down

0 comments on commit 31a379b

Please sign in to comment.