Issue #3440115 by mondrake: Change remaining File module test dataproviders to static

(cherry picked from commit 11fb273f93cb61e874ce0aa49949def90d9984da)
merge-requests/8190/head
Alex Pott 2024-04-11 22:26:33 +01:00
parent c3cac16eac
commit 6780a5138b
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ abstract class FileMediaFormatterTestBase extends BrowserTestBase {
* - The number of expected HTML tags.
* - An array of settings for the field formatter.
*/
public function dataProvider() {
public static function dataProvider(): array {
return [
[2, []],
[1, ['multiple_file_display_type' => 'sources']],