From e7c0be9a2a3050ce7045eac4054d6c555096abfb Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 10 Apr 2013 14:36:58 +1200 Subject: [PATCH] fix whitespace --- api/Exception.php | 100 +++++++++++++++++++++++----------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/api/Exception.php b/api/Exception.php index c19668f2db..e8f24e4e01 100644 --- a/api/Exception.php +++ b/api/Exception.php @@ -1,50 +1,50 @@ -extraParams = $extraParams + array('error_code' => $error_code); - } - - // custom string representation of object - public function __toString() { - return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; - } - - public function getExtraParams() { - return $this->extraParams; - } - - public function getErrorCodes(){ - return array( - 2000 => '$params was not an array', - 2001 => 'Invalid Value for Date field', - 2100 => 'String value is longer than permitted length' - ); - } -} +extraParams = $extraParams + array('error_code' => $error_code); + } + + // custom string representation of object + public function __toString() { + return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; + } + + public function getExtraParams() { + return $this->extraParams; + } + + public function getErrorCodes(){ + return array( + 2000 => '$params was not an array', + 2001 => 'Invalid Value for Date field', + 2100 => 'String value is longer than permitted length' + ); + } +} -- 2.25.1