Commit fc4cef4
[12.x] Add ability to deduplicate multiple characters with a single Str::deduplicate call (#56548)
* Add ability to deduplicate multiple characters with a single call
* Updating to use array_reduce
* Update method docblock
* Update Str.php
---------
Co-authored-by: Taylor Otwell <[email protected]>1 parent c9af3bc commit fc4cef4
File tree
2 files changed
+12
-3
lines changed- src/Illuminate/Support
- tests/Support
2 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
380 | 388 | | |
381 | 389 | | |
382 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
| |||
0 commit comments