Skip to content

Commit a334eee

Browse files
committed
bug #52 tests fix (seva-ask)
This PR was merged into the master branch. Discussion ---------- tests fix Hello! I have found that some tests are broken because of typos, so I have fixed them. Commits ------- 43a1191 tests fix
2 parents ca248b7 + 43a1191 commit a334eee

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)