optimized Package.php

This commit is contained in:
Robin Krahnen 2019-01-28 11:19:02 +01:00
parent daeace6a2e
commit 4228053b3f

View file

@ -31,8 +31,7 @@ class Package extends BasePackage
$dispatcher = $bootstrap->getSignalSlotDispatcher(); $dispatcher = $bootstrap->getSignalSlotDispatcher();
$dispatcher->connect(ConfigurationManager::class, 'configurationManagerReady', $dispatcher->connect(ConfigurationManager::class, 'configurationManagerReady',
function ($configurationManager) { function (ConfigurationManager $configurationManager) {
/* @var ConfigurationManager $configurationManager */
$configurationManager->registerConfigurationType( $configurationManager->registerConfigurationType(
static::CONFIGURATION_TYPE_VALIDATION, static::CONFIGURATION_TYPE_VALIDATION,
ConfigurationManager::CONFIGURATION_PROCESSING_TYPE_DEFAULT, ConfigurationManager::CONFIGURATION_PROCESSING_TYPE_DEFAULT,