Skip to content

Commit

Permalink
fix selectAsync in Connection
Browse files Browse the repository at this point in the history
  • Loading branch information
evsign committed Nov 23, 2018
1 parent 51ab2d6 commit 4c85242
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Integrations/Laravel/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,8 @@ public function selectAsync(array $queries)
$queries[$i] = $query->toQuery();
}
}

$queriesKeys = array_keys($queries);
$results = array_combine($queriesKeys, $this->getClient()->read($queries));

$results = $this->getClient()->read($queries);
$statistic = [];

foreach ($results as $i => $result) {
Expand Down

0 comments on commit 4c85242

Please sign in to comment.