Skip to content

Commit

Permalink
Rely on bound instead of trying to parse from abstract to concrete
Browse files Browse the repository at this point in the history
  • Loading branch information
deleugpn committed Jun 29, 2017
1 parent d3ca673 commit 3077e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Container/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,6 @@ public function get($id)
*/
public function has($id)
{
return $this->getConcrete($id) != $id;
return $this->bound($id);
}
}

0 comments on commit 3077e58

Please sign in to comment.