diff --git a/src/Shared/Domain/Utils.php b/src/Shared/Domain/Utils.php index 443c406e..a50521ee 100644 --- a/src/Shared/Domain/Utils.php +++ b/src/Shared/Domain/Utils.php @@ -10,16 +10,6 @@ final class Utils { - public static function endsWith(string $needle, string $haystack): bool - { - $length = strlen($needle); - if ($length === 0) { - return true; - } - - return substr($haystack, -$length) === $needle; - } - public static function dateToString(DateTimeInterface $date): string { return $date->format(DateTimeInterface::ATOM);