minor fix
[civicrm-core.git] / CRM / Core / LegacyErrorHandler.php
index b10026ac6b908fb5784282e288c9e450a644aaf9..a25dc320c7e42d04808618891b51c1358cf44a3c 100644 (file)
@@ -1,11 +1,14 @@
 <?php
 
+/**
+ * Class CRM_Core_LegacyErrorHandler
+ */
 class CRM_Core_LegacyErrorHandler {
   /**
    * @param \Civi\Core\Event\UnhandledExceptionEvent $event
    * @throws Exception
    */
-  static function handleException($event) {
+  public static function handleException($event) {
     $e = $event->exception;
     if ($e instanceof CRM_Core_Exception) {
       $params = $e->getErrorData();