Skip to content

Commit 0a78ed0

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Endpoints/Zones.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ public function setCachingLevel(string $zoneID, string $level = 'aggressive'): b
217217
* Purge Everything
218218
* @param string $zoneID
219219
* @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)