Skip to content

Commit 1dd4dc4

Browse files
committed
Generic/CallTimePassByReference: sort registered tokens alphabetically
This should make it easier to find if this sniff listen to a given token or not.
1 parent 9a0c254 commit 1dd4dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/Generic/Sniffs/Functions/CallTimePassByReferenceSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class CallTimePassByReferenceSniff implements Sniff
2525
public function register()
2626
{
2727
return [
28+
T_ANON_CLASS,
2829
T_STRING,
2930
T_VARIABLE,
30-
T_ANON_CLASS,
3131
];
3232

3333
}//end register()

0 commit comments

Comments
 (0)