Skip to content

Commit

Permalink
apply some review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Sep 15, 2023
1 parent 215f276 commit 86d11a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SiteContentDetection/SpaPwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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");
Expand Down

0 comments on commit 86d11a1

Please sign in to comment.