aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/DB/Exception')
-rw-r--r--tests/lib/DB/Exception/DbalExceptionTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/DB/Exception/DbalExceptionTest.php b/tests/lib/DB/Exception/DbalExceptionTest.php
index 470beff9080..c37e65aea0e 100644
--- a/tests/lib/DB/Exception/DbalExceptionTest.php
+++ b/tests/lib/DB/Exception/DbalExceptionTest.php
@@ -44,7 +44,7 @@ class DbalExceptionTest extends \Test\TestCase {
$this->assertSame($reason, $result->getReason());
}
- public function dataDriverException(): array {
+ public static function dataDriverException(): array {
return [
[LockWaitTimeoutException::class, DbalException::REASON_LOCK_WAIT_TIMEOUT],
[ForeignKeyConstraintViolationException::class, DbalException::REASON_FOREIGN_KEY_VIOLATION],