1
0
Fork 0

Merge branch '2.4'

pull/11057/head
Jordi Boggiano 2022-09-13 16:12:56 +02:00
commit 93bfe73b52
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class ValidatingArrayLoader implements LoaderInterface
$this->config = $config;
$this->validateString('name', true);
if ($err = self::hasPackageNamingError($config['name'])) {
if (isset($config['name']) && ($err = self::hasPackageNamingError($config['name']))) {
$this->errors[] = 'name : '.$err;
}