Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdorn committed Oct 11, 2022
1 parent 9e04495 commit faae829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tin.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function highlight(string $code): string
/**
* Converts a piece of code to lines made of tokens and passes each line to a transformer.
*
* @param callable(?Line): ?string $transformer
* @param callable(Line): ?string $transformer
*/
public function process(string $code, callable $transformer): string
{
Expand Down

0 comments on commit faae829

Please sign in to comment.