Visual Console Refactor: changed some functions from instance to static

Former-commit-id: 64fdb9086b5028570fea02de1bbe5e8c22e45c08
This commit is contained in:
Alejandro Gallardo Escobar 2019-04-03 10:27:22 +02:00
parent 2a2e8e39dd
commit 8e89f07961
1 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ class Item extends Model
* 'agentName' => null, * 'agentName' => null,
* ] * ]
*/ */
protected function extractLinkedAgent(array $data): array protected static function extractLinkedAgent(array $data): array
{ {
$agentData = []; $agentData = [];
@ -420,7 +420,7 @@ class Item extends Model
* 'moduleName' => null, * '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. // Initialize the data with the agent data and then expand it.
$moduleData = static::extractLinkedAgent($data); $moduleData = static::extractLinkedAgent($data);