Browse files

Fix offsetExists, missing parameter. Correct spelling of UnexpectedVa…

…lueException, and order of extends and implements.
  • Loading branch information...
1 parent 4265f6c commit dc128f45f0be805de418a3c67bc8a0ce83e2dcfd @saltybeagle saltybeagle committed Mar 4, 2010
View
2 src/Templates/Savant/ObjectProxy/ArrayAccess.php
@@ -5,7 +5,7 @@ class ArrayAccess extends ObjectProxy implements \ArrayAccess
{
function offsetExists($offset)
{
- return $this->object->offsetExists();
+ return $this->object->offsetExists($offset);
}
function offsetGet($offset)
View
2 src/Templates/Savant/UnexpectedValueException.php
@@ -1,7 +1,7 @@
<?php
namespace pear2\Templates\Savant;
-class UnexpecteValueException implements Exception extends \UnexpectedValueException
+class UnexpectedValueException extends \UnexpectedValueException implements Exception
{
}

0 comments on commit dc128f4

Please sign in to comment.