Johannes M. Schmitt 12 rokov pred
rodič
commit
0ddafdbd7e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/Composer/Util/ConfigValidator.php

+ 1 - 1
src/Composer/Util/ConfigValidator.php

@@ -68,7 +68,7 @@ class ConfigValidator
         } catch (\Exception $e) {
             $errors[] = $e->getMessage();
 
-            return;
+            return array($errors, $publishErrors, $warnings);
         }
 
         // validate actual data