Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

More consistent tokens for types #424

Merged
merged 1 commit into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grammars/php.cson
Original file line number Diff line number Diff line change
Expand Up @@ -2320,8 +2320,8 @@
}
{
# false is allowed in unions
'match': '(?i)\\b(null|int|float|bool|string|array|object|callable|iterable|false|mixed)\\b',
'name': 'storage.type.php'
'match': '(?i)\\b(null|int|float|bool|string|array|object|callable|iterable|false|mixed|void)\\b',
'name': 'keyword.other.type.php'
}
{
# static is only allowed in return of methods
Expand Down
Loading