Skip to content

Commit 43a1191

Browse files
committed
tests fix
1 parent ca248b7 commit 43a1191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Gitonomy/Git/Util/StringHelper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public static function substr($string, $start, $length = false)
4747

4848
public static function strpos($haystack, $needle, $offset = 0)
4949
{
50-
return function_exists('mb_strpos') ? mb_strpos($haystack, $needle, $offset, self::$encoding) : strpos($haystace, $needle, $offset);
50+
return function_exists('mb_strpos') ? mb_strpos($haystack, $needle, $offset, self::$encoding) : strpos($haystack, $needle, $offset);
5151
}
5252

5353
public static function strrpos($haystack, $needle, $offset = 0)
5454
{
55-
return function_exists('mb_strrpos') ? mb_strrpos($haystack, $needle, $offset, self::$encoding) : strrpos($haystace, $needle, $offset);
55+
return function_exists('mb_strrpos') ? mb_strrpos($haystack, $needle, $offset, self::$encoding) : strrpos($haystack, $needle, $offset);
5656
}
5757
}

0 commit comments

Comments
 (0)