Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoiq committed Oct 12, 2021
1 parent 418142f commit 52adda1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Time/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
use function gregoriantojd;
use function intval;
use function is_int;
use function is_string;
use function jdtogregorian;
use function sprintf;
use function str_replace;
Expand Down
4 changes: 2 additions & 2 deletions src/common/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Str

public static function checkEncoding(string $string): bool
{
return $string === self::fixEncoding($string);
return $string === Strings::fixEncoding($string);
}

public static function fixEncoding(string $string): string
Expand Down Expand Up @@ -569,7 +569,7 @@ public static function match(string $string, string $pattern, int $flags = 0, in

/**
* @deprecated use Re::matchAll() instead
* @return string[]
* @return string[][]
*/
public static function matchAll(string $string, string $pattern, int $flags = 0, int $offset = 0): array
{
Expand Down

0 comments on commit 52adda1

Please sign in to comment.