Skip to content

Commit 6a8b607

Browse files
committed
Fixed PHPMD quality
1 parent 3d382ed commit 6a8b607

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lib/Phpfastcache/Drivers/Memcache/Config.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ public function getServers(): array
6565
* @return self
6666
* @throws PhpfastcacheInvalidConfigurationException
6767
* @throws PhpfastcacheLogicException
68+
*
69+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
70+
* @SuppressWarnings(PHPMD.NPathComplexity)
6871
*/
6972
public function setServers(array $servers): static
7073
{

lib/Phpfastcache/Drivers/Memcached/Config.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ public function getServers(): array
113113
* @return self
114114
* @throws PhpfastcacheInvalidConfigurationException
115115
* @throws PhpfastcacheLogicException
116+
*
117+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
118+
* @SuppressWarnings(PHPMD.NPathComplexity)
116119
*/
117120
public function setServers(array $servers): static
118121
{

0 commit comments

Comments
 (0)