Skip to content

Commit

Permalink
Annotate generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 24, 2024
1 parent b577a48 commit db62861
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/framework/tests/Unit/DataCollectionUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ protected static function findFiles(string $name, array|string $extensions): Col
return collect(static::arrayGlob(static::$mockFiles, $name, $extensions));
}

/**
* @param array<string, string> $files Filename as key, file contents as value.
*/
public static function mockFiles(array $files): void
{
static::$mockFiles = $files;
Expand Down

0 comments on commit db62861

Please sign in to comment.