vimeo/psalm
Voir sur GitHubimplode(<string>, non-empty-list<string>) doesn't always result in non-empty-string
Open
#6 866 ouverte le 8 nov. 2021
Help wantedbugeasy problemsgood first issueinternal stubs/callmap
Métriques du dépôt
- Stars
- (5 369 stars)
- Métriques de merge PR
- (Merge moyen 3j 12h) (5 PRs mergées en 30 j)
Description
https://psalm.dev/r/9b7a45c338
The weird edge case of implode('asdf', ['']); can result in an empty string. Similarly if the first argument is an empty string then an array of any amount of empty strings will also produce an empty string