Allow empty input haystacks in MD_STD::stri_contains()
This commit is contained in:
parent
dc86540da2
commit
c689f7568f
|
@ -177,7 +177,7 @@ final class MD_STD {
|
|||
/**
|
||||
* Function checking if a string contains another in a case-insensitive way.
|
||||
*
|
||||
* @param non-empty-string $haystack String to check.
|
||||
* @param string $haystack String to check.
|
||||
* @param non-empty-string $needle Potential start of $haystack.
|
||||
*
|
||||
* @return boolean
|
||||
|
|
Loading…
Reference in New Issue
Block a user