vimeo/psalm
View on GitHubimplode(<non-false-string>, array) should produce non-falsy-string
Open
#7,055 opened on Dec 4, 2021
Help wantedeasy problemsenhancementtype providers
Repository metrics
- Stars
- (5,369 stars)
- PR merge metrics
- (Avg merge 3d 12h) (5 merged PRs in 30d)
Description
When the first argument is a non-falsy-string and the second argument has at least two elements, then the result is guaranteed to be at least non-falsy-string.
<?php
if(implode(' ', ['',''])) echo 1;