Visual Console Refactor: changed some functions from instance to static
Former-commit-id: 64fdb9086b5028570fea02de1bbe5e8c22e45c08
This commit is contained in:
parent
2a2e8e39dd
commit
8e89f07961
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue