Skip to content

Commit

Permalink
fix type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Oct 28, 2023
1 parent a2621ed commit 34dcde7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Tar/Encode.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ private function encodeDirectory(Str $parent, Directory $directory): Sequence
}

/**
* @param class-string(File)|class-string(Directory) $type
* @param class-string<File>|class-string<Directory> $type
*
* @return Sequence<Str>
*/
private function header(
Str $path,
Expand Down

0 comments on commit 34dcde7

Please sign in to comment.