From f7c620510c76fe47b526721b6c08347f1ca304c0 Mon Sep 17 00:00:00 2001 From: nikuscs Date: Thu, 7 Nov 2024 16:24:16 +0000 Subject: [PATCH] Fix styling --- src/Macros/StrMacros.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Macros/StrMacros.php b/src/Macros/StrMacros.php index 5322fdc..767a394 100644 --- a/src/Macros/StrMacros.php +++ b/src/Macros/StrMacros.php @@ -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, '\\'); })