Skip to content

Commit

Permalink
[11.x] Replace matches typehint fix (#51095)
Browse files Browse the repository at this point in the history
* Update Str.php

* Update Stringable.php

* Update Str.php

* Update Stringable.php

---------

Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
henzeb and taylorotwell authored Apr 17, 2024
1 parent ca85d94 commit 0dde4f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ public static function replaceEnd($search, $replace, $subject)
* Replace the patterns matching the given regular expression.
*
* @param array|string $pattern
* @param \Closure|string $replace
* @param \Closure|string[]|string $replace
* @param array|string $subject
* @param int $limit
* @return string|string[]|null
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Stringable.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ public function replaceEnd($search, $replace)
* Replace the patterns matching the given regular expression.
*
* @param array|string $pattern
* @param \Closure|string $replace
* @param \Closure|string[]|string $replace
* @param int $limit
* @return static
*/
Expand Down

0 comments on commit 0dde4f8

Please sign in to comment.