We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527e999 commit 9663eddCopy full SHA for 9663edd
src/iTXTech/SimpleFramework/Util/StringUtil.php
@@ -26,7 +26,7 @@ public static function endsWith(string $str, string $suffix) : bool{
26
}
27
28
public static function contains(string $str, string $s) : bool{
29
- return strpos($str, $s) > 0;
+ return strpos($str, $s) !== false;
30
31
32
public static function between(string $string, string $after, string $before, int $offset = 0) : string{
0 commit comments