diff --git a/SiteContentDetection/SpaPwa.php b/SiteContentDetection/SpaPwa.php index ed639442b..9af2063aa 100644 --- a/SiteContentDetection/SpaPwa.php +++ b/SiteContentDetection/SpaPwa.php @@ -33,7 +33,7 @@ public static function getPriority(): int return 70; } - public function detectByContent(?string $data = null, ?array $headers = null): bool + public function isDetected(?string $data = null, ?array $headers = null): bool { return false; } @@ -43,7 +43,7 @@ public function shouldShowInstructionTab(SiteContentDetector $detector = null): return true; } - public function renderInstructionsTab(SiteContentDetector $detector = null): string + public function renderInstructionsTab(SiteContentDetector $detector): string { $model = StaticContainer::get('Piwik\Plugins\TagManager\Model\Container'); $view = new View("@TagManager/trackingSPA");