Skip to content

Commit

Permalink
fix the phpdoc for replaceMatches in Str and Stringable helpers (#49990)
Browse files Browse the repository at this point in the history
  • Loading branch information
joke2k authored Feb 8, 2024
1 parent 6edb935 commit b8cf546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ public static function replaceEnd($search, $replace, $subject)
/**
* Replace the patterns matching the given regular expression.
*
* @param string $pattern
* @param array|string $pattern
* @param \Closure|string $replace
* @param array|string $subject
* @param int $limit
Expand Down
2 changes: 1 addition & 1 deletion Stringable.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public function replaceEnd($search, $replace)
/**
* Replace the patterns matching the given regular expression.
*
* @param string $pattern
* @param array|string $pattern
* @param \Closure|string $replace
* @param int $limit
* @return static
Expand Down

0 comments on commit b8cf546

Please sign in to comment.