summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-20 17:49:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-20 17:56:08 +0200
commit069af51dd039fe9790b420b0e74289309a4952c4 (patch)
treeef2d14e3e7a7d6728b5eddc9da057db163b18b06 /lib/public
parentafad27fafd996f0e2e7117d9f431f9eb63736569 (diff)
downloadnextcloud-server-069af51dd039fe9790b420b0e74289309a4952c4.tar.gz
nextcloud-server-069af51dd039fe9790b420b0e74289309a4952c4.zip
With PHP7 Throwable is the new base interface for all Exception and Error - we should be capable to log Throwable as well
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/ilogger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/ilogger.php b/lib/public/ilogger.php
index 6a4163875a9..fa947612fcd 100644
--- a/lib/public/ilogger.php
+++ b/lib/public/ilogger.php
@@ -135,10 +135,10 @@ interface ILogger {
* ]);
* </code>
*
- * @param \Exception $exception
+ * @param \Exception | \Throwable $exception
* @param array $context
* @return void
* @since 8.2.0
*/
- public function logException(\Exception $exception, array $context = array());
+ public function logException($exception, array $context = array());
}