mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Make RedirectCondition->matchValue nullable
This commit is contained in:
@@ -41,7 +41,7 @@ class ShortUrlRedirectRulesFixture extends AbstractFixture implements DependentF
|
||||
priority: 1,
|
||||
longUrl: 'https://example.com/english-and-foo-query',
|
||||
conditions: new ArrayCollection(
|
||||
[RedirectCondition::forLanguage('en'), RedirectCondition::forQueryParam('foo', 'bar')],
|
||||
[RedirectCondition::forLanguage('en'), RedirectCondition::forAnyValueQueryParam('foo')],
|
||||
),
|
||||
);
|
||||
$manager->persist($englishAndFooQueryRule);
|
||||
|
||||
Reference in New Issue
Block a user