Skip to content
Snippets Groups Projects

Issue #3231694: TestFileCreationTrait::getTestFiles() has incorrect @return type

Open Issue #3231694: TestFileCreationTrait::getTestFiles() has incorrect @return type
1 unresolved thread
1 unresolved thread
@@ -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 */
Loading