File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 77use FluxSE \SyliusEUVatPlugin \Entity \EuropeanChannelAwareInterface ;
88use FluxSE \SyliusEUVatPlugin \Entity \VATNumberAwareInterface ;
99use Sylius \Component \Addressing \Matcher \ZoneMatcherInterface ;
10- use Sylius \Component \Addressing \Model \Scope ;
1110use Sylius \Component \Addressing \Model \ZoneInterface ;
1211use Sylius \Component \Core \Model \AddressInterface ;
1312use Sylius \Component \Core \Model \ChannelInterface ;
@@ -37,7 +36,7 @@ public function check(
3736
3837 private function addressBelongsToEUZone (AddressInterface $ address , ZoneInterface $ channelEUZone ): bool
3938 {
40- $ matchedZones = $ this ->zoneMatcher ->matchAll ($ address, Scope:: ALL );
39+ $ matchedZones = $ this ->zoneMatcher ->matchAll ($ address );
4140
4241 $ belongsToEUZone = false ;
4342 /** @var ZoneInterface $matchedZone */
You can’t perform that action at this time.
0 commit comments