Move the Power, Plugin and Module builders into the container. Many more PHP 8 improvments.

This commit is contained in:
2023-01-29 22:12:42 +02:00
parent e6c02a29f6
commit 7edbe20c33
68 changed files with 3443 additions and 1681 deletions

View File

@@ -294,15 +294,7 @@ class Data
$main_get = $this->dynamic->get(
array($item->main_get), $item->code, $item->context
);
if (ArrayHelper::check($main_get))
{
$item->main_get = $main_get[0];
}
else
{
$item->main_get = null;
}
$item->main_get = ArrayHelper::check($main_get) ? $main_get[0] : null;
// set the custom_get data
$item->custom_get = (isset($item->custom_get)