Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Fix: Provide all kinds of string values
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Oct 4, 2020
1 parent 8435766 commit ea7a3c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DataProvider/StringProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ final class StringProvider
*/
public static function arbitrary(): \Generator
{
yield from self::provideDataForValuesWhereNot(self::values(), static function (string $value): bool {
return '' === \trim($value);
});
yield from self::provideDataForValues(self::values());
}

/**
Expand Down

0 comments on commit ea7a3c6

Please sign in to comment.