Skip to content

Commit

Permalink
Fix offsetExists, missing parameter. Correct spelling of UnexpectedVa…
Browse files Browse the repository at this point in the history
…lueException, and order of extends and implements.
  • Loading branch information
saltybeagle committed Mar 4, 2010
1 parent 4265f6c commit dc128f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Templates/Savant/ObjectProxy/ArrayAccess.php
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion 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.