Issue #3440176 by mondrake: Change remaining Media module test dataproviders to static

(cherry picked from commit 4bfe6ec524)
merge-requests/8190/head
Lee Rowlands 2024-04-12 07:22:33 +10:00
parent edb7361017
commit a67d30c7a8
No known key found for this signature in database
GPG Key ID: 2B829A3DF9204DC4
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class MediaEmbedFilterTestBase extends MediaJavascriptTestBase {
/**
* Data provider for testing validation when adding and editing media embeds.
*/
public function providerTestValidations() {
public static function providerTestValidations(): array {
return [
'Tests that no filter_html occurs when filter_html not enabled.' => [
'filters[filter_html][status]' => FALSE,