From 38cc7a09ab2feca2172bc4fddf6c406a9285c55f Mon Sep 17 00:00:00 2001 From: knut <> Date: Mon, 3 Jul 2006 09:03:57 +0000 Subject: Resolved typo #264 --- framework/Collections/TMap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Collections/TMap.php') diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php index 28508e1d..e3a26e5f 100644 --- a/framework/Collections/TMap.php +++ b/framework/Collections/TMap.php @@ -123,7 +123,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess if(!$this->_r) $this->_d[$key]=$value; else - throw new TInvalidOperation('map_readonly',get_class($this)); + throw new TInvalidOperationException('map_readonly',get_class($this)); } /** @@ -146,7 +146,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess return null; } else - throw new TInvalidOperation('map_readonly',get_class($this)); + throw new TInvalidOperationException('map_readonly',get_class($this)); } /** -- cgit v1.2.3