Merge pull request #5967 from colemanw/CRM-16632
[civicrm-core.git] / CRM / Core / TemporaryErrorScope.php
index 311f047456b59112b8e9e0d381e3ca4e0b326ca1..ec170a7b71357be83db0e36ed91d9f8f258bfced 100644 (file)
@@ -53,6 +53,9 @@ class CRM_Core_TemporaryErrorScope {
     return new CRM_Core_TemporaryErrorScope($newFrame);
   }
 
+  /**
+   * @param $newFrame
+   */
   public function __construct($newFrame) {
     self::$oldFrames[] = self::getActive();
     self::setActive($newFrame);
@@ -69,7 +72,7 @@ class CRM_Core_TemporaryErrorScope {
   public static function getActive() {
     return array(
       '_PEAR_default_error_mode' => $GLOBALS['_PEAR_default_error_mode'],
-      '_PEAR_default_error_options' =>$GLOBALS['_PEAR_default_error_options'],
+      '_PEAR_default_error_options' => $GLOBALS['_PEAR_default_error_options'],
       'modeException' => CRM_Core_Error::$modeException,
     );
   }
@@ -82,4 +85,5 @@ class CRM_Core_TemporaryErrorScope {
     $GLOBALS['_PEAR_default_error_options'] = $frame['_PEAR_default_error_options'];
     CRM_Core_Error::$modeException = $frame['modeException'];
   }
+
 }