Skip to content

Commit

Permalink
Fixed typo in code
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Feb 9, 2018
1 parent 5460e99 commit a8f41eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function batchQuery($defaultScenario, $data = [], array $options = [])
$result = $this->query($defaultScenario, $data, $options);

if (!$batch) {
$result = [$key = $result];
$result = [$key => $result];
}

return $result;
Expand Down

0 comments on commit a8f41eb

Please sign in to comment.