Skip to content

Commit

Permalink
supress phpmd for zone cache functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Fowler committed Dec 17, 2024
1 parent 2dceed9 commit 7b25cd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Endpoints/Zones.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ public function setCachingLevel(string $zoneID, string $level = 'aggressive'): b
/**
* Purge Everything
* @param string $zoneID
* @return bool
* @return bool
*
* @SuppressWarnings(PHPMD)
*/
public function cachePurgeEverything(string $zoneID, bool $includeEnvironments = false): bool
{
Expand All @@ -238,6 +240,9 @@ public function cachePurgeEverything(string $zoneID, bool $includeEnvironments =
return false;
}

/*
* @SuppressWarnings(PHPMD)
**/
public function cachePurge(string $zoneID, array $files = null, array $tags = null, array $hosts = null, bool $includeEnvironments = false): bool
{
if ($files === null && $tags === null && $hosts === null) {
Expand Down

0 comments on commit 7b25cd8

Please sign in to comment.