Permalink
Browse files

Providing fix for doctrine/common#72

  • Loading branch information...
1 parent 961788d commit da6d1addb8639fb10f1a05f7f9d1621f004b6285 @Ocramius Ocramius committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/Common/Collections/ArrayCollection.php
@@ -214,7 +214,7 @@ public function offsetUnset($offset)
*/
public function containsKey($key)
{
- return isset($this->_elements[$key]);
+ return array_key_exists($key, $this->_elements);
}
/**

0 comments on commit da6d1ad

Please sign in to comment.