Skip to content

Commit 7b25cd8

Browse files
author
Jacob Fowler
committed
supress phpmd for zone cache functions
1 parent 2dceed9 commit 7b25cd8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Endpoints/Zones.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ public function setCachingLevel(string $zoneID, string $level = 'aggressive'): b
216216
/**
217217
* Purge Everything
218218
* @param string $zoneID
219-
* @return bool
219+
* @return bool
220+
*
221+
* @SuppressWarnings(PHPMD)
220222
*/
221223
public function cachePurgeEverything(string $zoneID, bool $includeEnvironments = false): bool
222224
{
@@ -238,6 +240,9 @@ public function cachePurgeEverything(string $zoneID, bool $includeEnvironments =
238240
return false;
239241
}
240242

243+
/*
244+
* @SuppressWarnings(PHPMD)
245+
**/
241246
public function cachePurge(string $zoneID, array $files = null, array $tags = null, array $hosts = null, bool $includeEnvironments = false): bool
242247
{
243248
if ($files === null && $tags === null && $hosts === null) {

0 commit comments

Comments
 (0)