Verified Commit 2301cd01 authored by Alex Pott's avatar Alex Pott
Browse files

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

(cherry picked from commit 11fb273f)
parent 09af9754
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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']],