Skip to content

Commit

Permalink
add missing static keyword (#48760)
Browse files Browse the repository at this point in the history
  • Loading branch information
hosmelq authored Oct 18, 2023
1 parent 19c0454 commit 8d8d5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8d8d5f7

Please sign in to comment.