From 8d8d5f7b413e271522e4559104eb1a5d062b4954 Mon Sep 17 00:00:00 2001 From: Hosmel Quintana Date: Wed, 18 Oct 2023 07:58:39 -0600 Subject: [PATCH] add missing static keyword (#48760) --- src/Illuminate/Support/Str.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/Str.php b/src/Illuminate/Support/Str.php index 3f9465035039..39cefe6054fd 100644 --- a/src/Illuminate/Support/Str.php +++ b/src/Illuminate/Support/Str.php @@ -1150,7 +1150,7 @@ public static function replaceEnd($search, $replace, $subject) * @param int $limit * @return string|string[]|null */ - public function replaceMatches($pattern, $replace, $subject, $limit = -1) + public static function replaceMatches($pattern, $replace, $subject, $limit = -1) { if ($replace instanceof Closure) { return preg_replace_callback($pattern, $replace, $subject, $limit);