svn: /pear2/Templates_Savant/trunk/src/Templates/Savant/ ObjectProxy/ArrayAccess.php UnexpectedValueException.php
| From: | Brett Bieber | Date: | Thu, 04 Mar 2010 19:13:41 +0000 |
| Subject: | svn: /pear2/Templates_Savant/trunk/src/Templates/Savant/ ObjectProxy/ArrayAccess.php UnexpectedValueException.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9264@lists.php.net to get a copy of this message | ||
saltybeagle Thu, 04 Mar 2010 19:13:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295830
Log:
Fix offsetExists, missing parameter. Correct spelling of UnexpectedValueException, and order of
extends and implements.
Changed paths:
U pear2/Templates_Savant/trunk/src/Templates/Savant/ObjectProxy/ArrayAccess.php
U pear2/Templates_Savant/trunk/src/Templates/Savant/UnexpectedValueException.php
Modified: pear2/Templates_Savant/trunk/src/Templates/Savant/ObjectProxy/ArrayAccess.php
===================================================================
--- pear2/Templates_Savant/trunk/src/Templates/Savant/ObjectProxy/ArrayAccess.php 2010-03-04
18:54:41 UTC (rev 295829)
+++ pear2/Templates_Savant/trunk/src/Templates/Savant/ObjectProxy/ArrayAccess.php 2010-03-04
19:13:41 UTC (rev 295830)
@@ -5,7 +5,7 @@
{
function offsetExists($offset)
{
- return $this->object->offsetExists();
+ return $this->object->offsetExists($offset);
}
function offsetGet($offset)
Modified: pear2/Templates_Savant/trunk/src/Templates/Savant/UnexpectedValueException.php
===================================================================
--- pear2/Templates_Savant/trunk/src/Templates/Savant/UnexpectedValueException.php 2010-03-04
18:54:41 UTC (rev 295829)
+++ pear2/Templates_Savant/trunk/src/Templates/Savant/UnexpectedValueException.php 2010-03-04
19:13:41 UTC (rev 295830)
@@ -1,7 +1,7 @@
<?php
namespace pear2\Templates\Savant;
-class UnexpecteValueException implements Exception extends \UnexpectedValueException
+class UnexpectedValueException extends \UnexpectedValueException implements Exception
{
}