1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 23:17:46 +00:00
Files
matomo/plugins/SitesManager/SiteContentDetection/ConsentManagerDetectionAbstract.php
Stefan Giehl 7344ad99d5 Fix PHPStan issues in plugins/SitesManager/SiteContentDetection (#23527)
* Fix PHPStan issues in plugins/SitesManager/SiteContentDetection

* update baseline

* remove unneeded access check
2025-08-22 15:26:13 +02:00

28 خطوط
714 B
PHP

<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Plugins\SitesManager\SiteContentDetection;
abstract class ConsentManagerDetectionAbstract extends SiteContentDetectionAbstract
{
final public static function getContentType(): int
{
return self::TYPE_CONSENT_MANAGER;
}
/**
* Returns if the consent manager was already connected to Matomo
*
* @param string|null $data
* @param array<string,string>|null $headers
* @return bool
*/
abstract public function checkIsConnected(?string $data = null, ?array $headers = null): bool;
}