Verified Commit 6a268be3 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3231694 by Wongjn, lucassc, alexpott:...

Issue #3231694 by Wongjn, lucassc, alexpott: TestFileCreationTrait::getTestFiles() has incorrect @return type

(cherry picked from commit 9ee0ef64)
parent 17e5d9cf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -48,8 +48,9 @@ trait TestFileCreationTrait {
   *   (optional) File size in bytes to match. Defaults to NULL, which will not
   *   filter the returned list by size.
   *
   * @return array[]
   *   List of files in public:// that match the filter(s).
   * @return object[]
   *   List of files in public:// that match the filter(s). Each file is an
   *   object with 'uri', 'filename', and 'name' properties.
   */
  protected function getTestFiles($type, $size = NULL) {
    /** @var \Drupal\Core\File\FileSystemInterface $file_system */