Skip to content

Commit

Permalink
Apply StyleCi patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mnabialek committed Nov 26, 2016
1 parent 5526aec commit 7b54ffa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Database/Eloquent/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@ public function whereKey($id)
{
if (is_array($id)) {
$this->query->whereIn($this->model->getQualifiedKeyName(), $id);

return $this;
}

return $this->where($this->model->getQualifiedKeyName(), '=', $id);
}

Expand Down

0 comments on commit 7b54ffa

Please sign in to comment.