Skip to content

A free open source IT asset/license management system

Added @SuppressWarnings("PHPMD.UnusedFormalParameter") to quiet phpstan

snipe416ddad59bb1
diff --git a/app/SyncAdapters/Support/ConfigurableAdapter.php b/app/SyncAdapters/Support/ConfigurableAdapter.php
index 414d9d5367..4bee851c62 100644
--- a/app/SyncAdapters/Support/ConfigurableAdapter.php
+++ b/app/SyncAdapters/Support/ConfigurableAdapter.php
@@ -752,6 +752,8 @@ abstract class ConfigurableAdapter implements HostInventoryAdapter
* framework calls this from SyncHostFromAdapter when creating a
* new AssetModel row, so a null return is equivalent to today's
* one-category-per-instance behavior.
+ *
+ * @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function categoryIdForRecord(\App\SyncAdapters\HostInventoryRecord $record): ?int
{