Skip to content

Commit 3ff1b41

Browse files
Fixes PHPCS by disabling the check for line
1 parent 88b19e4 commit 3ff1b41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/Session.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public static function getSameSiteCookieValue()
183183
$shouldUseNoneForcefully = false;
184184
Piwik::postEvent('Session.shouldSendSameSiteCookieAsNoneForcefully', [&$shouldUseNoneForcefully]);
185185

186+
// @phpstan-ignore-next-line value may be changed by plugin listeners via reference
186187
if (($shouldUseNone || $shouldUseNoneForcefully) && ProxyHttp::isHttps()) {
187188
return 'None';
188189
}

0 commit comments

Comments
 (0)