From c689f7568f5c58e36782290f30956b8c12d1ce13 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sun, 9 Jan 2022 22:20:05 +0100 Subject: [PATCH] Allow empty input haystacks in MD_STD::stri_contains() --- src/MD_STD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MD_STD.php b/src/MD_STD.php index 1ca8792..a7eac82 100644 --- a/src/MD_STD.php +++ b/src/MD_STD.php @@ -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