Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/to-array-of-strings' into to-arr…
Browse files Browse the repository at this point in the history
…ay-of-strings
  • Loading branch information
vjik committed Aug 23, 2024
2 parents a729537 + ffcaac4 commit b388bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Attribute/Parameter/ToArrayOfStringsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ public static function dataBase(): iterable
yield [
['hello', 2 => 'world', 3 => 'good'],
"hello\n\n world\n good ",
new class() {
new class () {
#[ToArrayOfStrings(trim: true, removeEmpty: true)]
public ?array $value = null;
},
];
yield [
['hello', 'world', 'good'],
'hello,world,good',
new class() {
new class () {
#[ToArrayOfStrings(separator: ',')]
public ?array $value = null;
},
Expand Down

0 comments on commit b388bd7

Please sign in to comment.