Browse Source

fixed return

Johannes M. Schmitt 12 years ago
parent
commit
0ddafdbd7e
1 changed files with 1 additions and 1 deletions
  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