aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-06-09 08:52:40 +0200
committerGitHub <noreply@github.com>2020-06-09 08:52:40 +0200
commitd0d6cb6ea67d2177fec6860ef82f531e35e024a4 (patch)
tree9918ac70088f471246cedd39b6b8f0af47013a43 /apps
parent99e14b5ada0aceb7a0b5a54b7b5a49d671304036 (diff)
parent03c05d60c023a4730fd46696d2fc9f1fb57dc686 (diff)
downloadnextcloud-server-d0d6cb6ea67d2177fec6860ef82f531e35e024a4.tar.gz
nextcloud-server-d0d6cb6ea67d2177fec6860ef82f531e35e024a4.zip
Merge pull request #21302 from nextcloud/techdebt/noid/adjust-to-parent-implementation
Adjust to parent implementation
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;