Loading core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ protected function createMediaField($formatter, $file_extensions, array $formatt * - 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']], Loading Loading
core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ protected function createMediaField($formatter, $file_extensions, array $formatt * - 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']], Loading