Skip to content

Commit

Permalink
FIXUP fix return types
Browse files Browse the repository at this point in the history
  • Loading branch information
thg2k committed Jun 18, 2024
1 parent 9692a29 commit 03a6631
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Testing/TypeInferenceTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public static function gatherAssertTypes(string $file): array

/**
* @api
* @return array<string>
* @return array<string, array{string, ?array{string, string}}>
*/
public static function gatherAssertFilesFromDirectory(string $base, string $path): array
{
Expand Down Expand Up @@ -283,6 +283,8 @@ public static function gatherAssertFilesFromDirectory(string $base, string $path
* Copyright (c) 2012, Jakub Onderka
*
* Modified to return the parsed requirement instead of verifying it.
*
* @return ?array{string, string}
*/
private static function getFileLintRequirement(string $file): ?array
{
Expand Down

0 comments on commit 03a6631

Please sign in to comment.