X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FTemporaryErrorScope.php;h=6ab382b1d0c136765b60e5d6a7fd8de5632981a0;hb=4c9b6178d4a1a1b93ae1302f606903117a52e87b;hp=311f047456b59112b8e9e0d381e3ca4e0b326ca1;hpb=0554664067cdf3fb0f8e9210481a3346b905394a;p=civicrm-core.git diff --git a/CRM/Core/TemporaryErrorScope.php b/CRM/Core/TemporaryErrorScope.php index 311f047456..6ab382b1d0 100644 --- a/CRM/Core/TemporaryErrorScope.php +++ b/CRM/Core/TemporaryErrorScope.php @@ -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, ); }