Skip to content

Commit

Permalink
Correct Todo Sniff array<int|string> usage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Mar 19, 2024
1 parent 6c7506b commit be30b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moodle/Sniffs/Commenting/TodoCommentSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TodoCommentSniff implements Sniff
/**
* Returns an array of tokens this Sniff wants to listen for.
*
* @return array<int|string>
* @return int[]|string[]
*/
public function register(): array {
return [T_COMMENT, T_DOC_COMMENT_TAG];
Expand Down

0 comments on commit be30b04

Please sign in to comment.