small code optimizations
This commit is contained in:
parent
404105eaa8
commit
41df85d9b1
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Version20170603120900 extends AbstractMigration
|
|||
$newConfiguration = ['properties' => [], 'self' => []];
|
||||
|
||||
foreach ($validators as $key => &$validator) {
|
||||
if (!isset($validator['validator']) || !isset($validator['options'])) {
|
||||
if (! isset($validator['validator']) || ! isset($validator['options'])) {
|
||||
$this->showWarning('The Validation.yaml files contained no validator or options for ' .
|
||||
'validation: "' . $validatorName . '.' . $key . '". It was not be migrated.');
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue