Skip to content

Commit ba10842

Browse files
hosmelqtimacdonald
authored andcommitted
add missing static keyword (laravel#48760)
1 parent c2bf4a6 commit ba10842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Str.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ public static function replaceEnd($search, $replace, $subject)
11501150
* @param int $limit
11511151
* @return string|string[]|null
11521152
*/
1153-
public function replaceMatches($pattern, $replace, $subject, $limit = -1)
1153+
public static function replaceMatches($pattern, $replace, $subject, $limit = -1)
11541154
{
11551155
if ($replace instanceof Closure) {
11561156
return preg_replace_callback($pattern, $replace, $subject, $limit);

0 commit comments

Comments
 (0)