1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 18:48:03 +01:00

Merge pull request #6291 from zonuexe/patch-1

Remove unnecessary [
This commit is contained in:
Bruce Weirdan 2021-08-12 12:24:07 +03:00 committed by GitHub
commit 82e0a9b428
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: