Skip to content

Commit

Permalink
File/Finder: Fix return type of key iterator method
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay authored and chfsx committed Sep 4, 2024
1 parent b117fe7 commit af5c329
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(private Filesystem $filesystem, protected string $di
/**
* @inheritdoc
*/
public function key(): string
public function key(): int|string
{
return key($this->files);
}
Expand Down

0 comments on commit af5c329

Please sign in to comment.