added return type hints for callables
This commit is contained in:
parent
51115825ac
commit
9c4138b4d1
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class Package extends NeosFlowPackagePackage
|
|||
$dispatcher->connect(
|
||||
ConfigurationManager::class,
|
||||
'configurationManagerReady',
|
||||
function (ConfigurationManager $configurationManager) {
|
||||
function (ConfigurationManager $configurationManager): void {
|
||||
$configurationManager->registerConfigurationType('Validation');
|
||||
}
|
||||
);
|
||||
|
|
|
@ -19,7 +19,7 @@ class Version20170603120900 extends AbstractMigration
|
|||
{
|
||||
$this->processConfiguration(
|
||||
'Validation',
|
||||
function (array &$configuration) {
|
||||
function (array &$configuration): void {
|
||||
foreach ($configuration as $validatorName => &$validators) {
|
||||
// guard that protects configuration, which has already the new format:
|
||||
if (isset($validators['properties']) || isset($validators['self'])) {
|
||||
|
|
Loading…
Reference in a new issue