1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Remove unnecessary [

This commit is contained in:
USAMI Kenta 2021-08-12 12:08:00 +09:00 committed by GitHub
parent 7c339c1f7d
commit 4985109e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,8 +58,8 @@ Examples:
- `"hello " . "world"`
- `"hello " . Person::DEFAULT_NAME`
- `implode([', ', ["one", "two"])`
- `implode([', ', [1, 2, 3])`
- `implode(', ', ["one", "two"])`
- `implode(', ', [1, 2, 3])`
- `"hello " . <another literal-string>`
Strings that don't pass this type check: