/**
* @param mixed $callback
+ * @param null $modeException
+ *
* @return CRM_Core_TemporaryErrorScope
*/
public static function create($callback, $modeException = NULL) {
return new CRM_Core_TemporaryErrorScope($newFrame);
}
+ /**
+ * @param $newFrame
+ */
public function __construct($newFrame) {
self::$oldFrames[] = self::getActive();
self::setActive($newFrame);