Skip to content

Commit

Permalink
Style updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
ash-jc-allen committed Nov 13, 2024
1 parent 37bde08 commit 2caab2c
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 @@ -1585,7 +1585,7 @@ public static function splitLast($subject, $search, $includeSearch = false)
}

if ($includeSearch === 'after') {
$after = $search . $after;
$after = $search.$after;
}

return [
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 @@ -1034,7 +1034,7 @@ public function rtrim($characters = null)
*
* @param string|bool $search
* @return \Illuminate\Support\Collection<int, string>
*/
*/
public function splitLast($search, $includeSearch = false)
{
return collect(Str::splitLast($this->value, $search, $includeSearch));
Expand Down

0 comments on commit 2caab2c

Please sign in to comment.