diff --git a/pandora_console/include/rest-api/models/VisualConsole/Item.php b/pandora_console/include/rest-api/models/VisualConsole/Item.php index c0c478c947..03147e92da 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Item.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Item.php @@ -357,7 +357,7 @@ class Item extends Model * 'agentName' => null, * ] */ - protected function extractLinkedAgent(array $data): array + protected static function extractLinkedAgent(array $data): array { $agentData = []; @@ -420,7 +420,7 @@ class Item extends Model * 'moduleName' => null, * ] */ - protected function extractLinkedModule(array $data): array + protected static function extractLinkedModule(array $data): array { // Initialize the data with the agent data and then expand it. $moduleData = static::extractLinkedAgent($data);