Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuscs authored and github-actions[bot] committed Nov 7, 2024
1 parent 722dfae commit f7c6205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Macros/StrMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ public static function linesToCollection(): void
return Collection::make($items)
->map(function ($item) {
$item = trim($item);

// Remove trailing backslashes
return rtrim($item, '\\');
})
Expand Down

0 comments on commit f7c6205

Please sign in to comment.