Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinCK committed Mar 25, 2015
1 parent 88146c6 commit fe14be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArrayCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function indexOf($element)
*/
public function get($key = null, $default = null)
{
if ($key){
if (null !== $key){
return isset($this->elements[$key]) ? $this->elements[$key] : $default;
}

Expand Down

0 comments on commit fe14be6

Please sign in to comment.