aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-08 11:30:05 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-08 11:30:05 +0200
commit03c05d60c023a4730fd46696d2fc9f1fb57dc686 (patch)
tree23dd17b4bacea1a416d7a047133dad25fbbc49dd /apps
parent81f83d3c1f9be926bf1898212e2445aa9c292dc1 (diff)
downloadnextcloud-server-03c05d60c023a4730fd46696d2fc9f1fb57dc686.tar.gz
nextcloud-server-03c05d60c023a4730fd46696d2fc9f1fb57dc686.zip
Adjust to parent implementation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php
index 2b19227a354..7eef0f74343 100644
--- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php
+++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php
@@ -26,11 +26,11 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin {
/**
- * @var \Exception[]
+ * @var \Throwable[]
*/
protected $exceptions = [];
- public function logException(\Exception $ex) {
+ public function logException(\Throwable $ex) {
$exceptionClass = get_class($ex);
if (!isset($this->nonFatalExceptions[$exceptionClass])) {
$this->exceptions[] = $ex;
@@ -38,7 +38,7 @@ class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin {
}
/**
- * @return \Exception[]
+ * @return \Throwable[]
*/
public function getExceptions() {
return $this->exceptions;