mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Remove unnecessary [
This commit is contained in:
parent
7c339c1f7d
commit
4985109e56
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user