Skip to content

Commit 292a4da

Browse files
committed
Silent warnings from creating exception
Apparently this can lead to strange errors on some setups: Accessing static property Exception::$trace as non static Fixes phpmyadmin/phpmyadmin#12791 Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent b914cc0 commit 292a4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ public static function load($context = '')
457457
$context = self::$contextPrefix . $context;
458458
}
459459
if (!class_exists($context)) {
460-
throw new LoaderException(
460+
throw @new LoaderException(
461461
'Specified context ("' . $context . '") does not exist.',
462462
$context
463463
);

0 commit comments

Comments
 (0)