summaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 10:43:34 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 10:43:34 +0100
commit83eb548d23dff78571b8ba827566ed33cdfa985e (patch)
tree04030406cb547d3dc9113dbf99e80de9879dfa7e /lib/private/Log.php
parent4077f16aecafbc5d07a43f458aeb67d3edf1213d (diff)
downloadnextcloud-server-83eb548d23dff78571b8ba827566ed33cdfa985e.tar.gz
nextcloud-server-83eb548d23dff78571b8ba827566ed33cdfa985e.zip
Typehint Throwable
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r--lib/private/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php
index d59d8b5ff00..a18b5db7d09 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -331,7 +331,7 @@ class Log implements ILogger {
* @return void
* @since 8.2.0
*/
- public function logException($exception, array $context = []) {
+ public function logException(\Throwable $exception, array $context = []) {
$level = Util::ERROR;
if (isset($context['level'])) {
$level = $context['level'];