projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7300dd8
)
Fix param type for handleException
author
Jannis Grimm
<j@jannis.rocks>
Tue, 23 Mar 2021 19:32:39 +0000
(20:32 +0100)
committer
GitHub
<noreply@github.com>
Tue, 23 Mar 2021 19:32:39 +0000
(20:32 +0100)
WCF::handleException incorrectly stated it would receive only \Exception, while it is registered to receive any \Throwable.
wcfsetup/install/files/lib/system/WCF.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/WCF.class.php
b/wcfsetup/install/files/lib/system/WCF.class.php
index 3f209e1e8e9108f3cf3864be8127851af0a0ec9c..d586c0d57cdd8b919e12c45411e2df9ce4fa0a53 100644
(file)
--- a/
wcfsetup/install/files/lib/system/WCF.class.php
+++ b/
wcfsetup/install/files/lib/system/WCF.class.php
@@
-268,7
+268,7
@@
class WCF {
/**
* Calls the show method on the given exception.
*
- * @param \
Exception
$e
+ * @param \
Throwable
$e
*/
public static final function handleException($e) {
// backwards compatibility