projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fix
[civicrm-core.git]
/
CRM
/
Core
/
LegacyErrorHandler.php
diff --git
a/CRM/Core/LegacyErrorHandler.php
b/CRM/Core/LegacyErrorHandler.php
index b10026ac6b908fb5784282e288c9e450a644aaf9..a25dc320c7e42d04808618891b51c1358cf44a3c 100644
(file)
--- a/
CRM/Core/LegacyErrorHandler.php
+++ b/
CRM/Core/LegacyErrorHandler.php
@@
-1,11
+1,14
@@
<?php
<?php
+/**
+ * Class CRM_Core_LegacyErrorHandler
+ */
class CRM_Core_LegacyErrorHandler {
/**
* @param \Civi\Core\Event\UnhandledExceptionEvent $event
* @throws Exception
*/
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();
$e = $event->exception;
if ($e instanceof CRM_Core_Exception) {
$params = $e->getErrorData();