mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
@@ -108,7 +108,7 @@ class EggConfigurationService
|
||||
// Normalize the output of the configuration for the new Wings Daemon to more
|
||||
// easily ingest, as well as make things more flexible down the road.
|
||||
foreach ($configs as $file => $data) {
|
||||
$append = array_merge((array)$data, ['file' => $file, 'replace' => []]);
|
||||
$append = array_merge((array) $data, ['file' => $file, 'replace' => []]);
|
||||
|
||||
foreach ($this->iterate($data->find, $structure) as $find => $replace) {
|
||||
if (is_object($replace)) {
|
||||
|
||||
@@ -119,7 +119,7 @@ class EggImporterService
|
||||
], true, true);
|
||||
|
||||
collect($parsed->variables)->each(function ($variable) use ($egg) {
|
||||
$this->eggVariableRepository->create(array_merge((array)$variable, [
|
||||
$this->eggVariableRepository->create(array_merge((array) $variable, [
|
||||
'egg_id' => $egg->id,
|
||||
]));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user