aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-09-06 10:18:51 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-06 10:18:51 +0200
commitaefac3efb9fada806867108c6fd1d36bba156ed8 (patch)
tree84e66de91bb008b0041b68e024357ce4fe1cde8a /tests
parent1a552bd60eab4a4b940d3896376b599e155d7da0 (diff)
CI fix warnings (#6780)
Diffstat (limited to 'tests')
-rw-r--r--tests/app/Models/SearchTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/app/Models/SearchTest.php b/tests/app/Models/SearchTest.php
index a25adc160..58eb875e0 100644
--- a/tests/app/Models/SearchTest.php
+++ b/tests/app/Models/SearchTest.php
@@ -454,7 +454,7 @@ class SearchTest extends PHPUnit\Framework\TestCase {
}
/** @return array<array<mixed>> */
- public function provideRegexPostreSQL(): array {
+ public static function provideRegexPostreSQL(): array {
return [
[
'intitle:/^ab$/',
@@ -522,7 +522,7 @@ class SearchTest extends PHPUnit\Framework\TestCase {
}
/** @return array<array<mixed>> */
- public function provideRegexMariaDB(): array {
+ public static function provideRegexMariaDB(): array {
return [
[
'intitle:/^ab$/',
@@ -555,7 +555,7 @@ class SearchTest extends PHPUnit\Framework\TestCase {
}
/** @return array<array<mixed>> */
- public function provideRegexMySQL(): array {
+ public static function provideRegexMySQL(): array {
return [
[
'intitle:/^ab$/',
@@ -586,7 +586,7 @@ class SearchTest extends PHPUnit\Framework\TestCase {
}
/** @return array<array<mixed>> */
- public function provideRegexSQLite(): array {
+ public static function provideRegexSQLite(): array {
return [
[
'intitle:/^ab$/',