Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuscs committed Nov 21, 2024
2 parents e70807a + f7c6205 commit e373249
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)

Check failure on line 397 in src/Macros/StrMacros.php

View workflow job for this annotation

GitHub Actions / phpstan

Parameter #1 $items of static method Illuminate\Support\Collection<(int|string),mixed>::make() expects Illuminate\Contracts\Support\Arrayable<(int|string), mixed>|iterable<(int|string), mixed>|null, array|false given.
->map(function ($item) {
$item = trim($item);

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

0 comments on commit e373249

Please sign in to comment.