mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -193,8 +193,7 @@ abstract class AbstractWidgetsCompilerPass implements CompilerPassInterface
|
||||
/** @var WidgetFactoryInterface $factory */
|
||||
$factory = $this->widgetServices[$alias];
|
||||
// get the config (under the key which equals to widget_alias
|
||||
$config = isset($param[$factory->getWidgetAlias()]) ?
|
||||
$param[$factory->getWidgetAlias()] : [];
|
||||
$config = $param[$factory->getWidgetAlias()] ?? [];
|
||||
// register the service into the container
|
||||
$serviceId = $this->registerServiceIntoContainer(
|
||||
$container,
|
||||
|
Reference in New Issue
Block a user