Issue #3231694 by Wongjn, lucassc, alexpott: TestFileCreationTrait::getTestFiles() has incorrect @return type (cherry picked from commit 9ee0ef64)