Ver Fonte

fixed return

Johannes M. Schmitt há 12 anos atrás
pai
commit
0ddafdbd7e
1 ficheiros alterados com 1 adições e 1 exclusões
  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