-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthias Richter
committed
Oct 29, 2024
1 parent
421e30e
commit 330298c
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/* | ||
* This file is part of the Liszt Catalog Raisonne project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
*/ | ||
|
||
namespace Slub\LisztCommon\Common; | ||
|
||
use Illuminate\Support\Collection as IlluminateCollection; | ||
use Illuminate\Support\Str; | ||
|
||
class Collection extends IlluminateCollection | ||
{ | ||
public function join($glue, $finalGlue = '') | ||
{ | ||
return Str::of(parent::join($glue, $finalGlue)); | ||
} | ||
|
||
public function implode($value, $glue = null) | ||
{ | ||
return Str::of(parent::implode($value, $glue)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters