Skip to content

Commit f4c4202

Browse files
andrewnicolsstronk7
authored andcommitted
Correct Todo Sniff array<int|string> usage
1 parent 0638212 commit f4c4202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moodle/Sniffs/Commenting/TodoCommentSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TodoCommentSniff implements Sniff
5555
/**
5656
* Returns an array of tokens this Sniff wants to listen for.
5757
*
58-
* @return array<int|string>
58+
* @return int[]|string[]
5959
*/
6060
public function register(): array {
6161
return [T_COMMENT, T_DOC_COMMENT_TAG];

0 commit comments

Comments
 (0)