Skip to content

Commit 573e5fb

Browse files
committed
fix: phpunit test
1 parent 79cc817 commit 573e5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Webhook/Registration/WebhookSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private function getConfigToCheck(BeforeSystemConfigMultipleChangedEvent|SystemC
9191
$config = $event->getConfig();
9292
$routeName = (string) $this->requestStack->getMainRequest()?->attributes->getString('_route');
9393

94-
if (!$this->webhookSystemConfigHelper->needsCheck($config) || \str_contains($routeName, 'api.action.paypal.settings.save')) {
94+
if (\str_contains($routeName, 'api.action.paypal.settings.save') || !$this->webhookSystemConfigHelper->needsCheck($config)) {
9595
return null;
9696
}
9797

0 commit comments

Comments
 (0)