Skip to content

Commit 20d1ef1

Browse files
committed
fix phpcs / phpstan
1 parent 2d20eb7 commit 20d1ef1

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

plugins/CustomDimensions/FeatureFlags/CustomDimensionReportWithRollUp.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ public function getName(): string
1919
{
2020
return 'CustomDimensionReportWithRollUp';
2121
}
22+
23+
public function allowsCookieOverwrite(): bool
24+
{
25+
return false;
26+
}
2227
}

plugins/FeatureFlags/Storage/CookieFeatureFlagStorage.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ class CookieFeatureFlagStorage implements FeatureFlagStorageInterface
1616
{
1717
/**
1818
* @internal
19-
* @param FeatureFlagInterface $feature
20-
* @return bool|null
2119
*/
2220
public function isFeatureActive(FeatureFlagInterface $feature): ?bool
2321
{
@@ -36,8 +34,6 @@ public function isFeatureActive(FeatureFlagInterface $feature): ?bool
3634

3735
/**
3836
* @internal
39-
* @param FeatureFlagInterface $feature
40-
* @return void
4137
*/
4238
public function disableFeatureFlag(FeatureFlagInterface $feature): void
4339
{
@@ -46,8 +42,6 @@ public function disableFeatureFlag(FeatureFlagInterface $feature): void
4642

4743
/**
4844
* @internal
49-
* @param FeatureFlagInterface $feature
50-
* @return void
5145
*/
5246
public function enableFeatureFlag(FeatureFlagInterface $feature): void
5347
{
@@ -56,8 +50,6 @@ public function enableFeatureFlag(FeatureFlagInterface $feature): void
5650

5751
/**
5852
* @internal
59-
* @param string $feature
60-
* @return void
6153
*/
6254
public function deleteFeatureFlag(string $featureName): void
6355
{

plugins/PrivacyManager/FeatureFlags/PrivacyCompliance.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function getForcedFeatureFlagState(): bool
2525
{
2626
return true;
2727
}
28+
29+
public function allowsCookieOverwrite(): bool
30+
{
31+
return false;
32+
}
2833
}

0 commit comments

Comments
 (0)