mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 15:53:13 +08:00
Fix order in which entities are flushed in ShortUrlListRepositoryTest
This commit is contained in:
@@ -10,7 +10,7 @@ final readonly class Ordering
|
||||
private const ASC_DIR = 'ASC';
|
||||
private const DEFAULT_DIR = self::ASC_DIR;
|
||||
|
||||
private function __construct(public ?string $field, public string $direction)
|
||||
public function __construct(public ?string $field = null, public string $direction = self::DEFAULT_DIR)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user