浏览代码

fixed return

Johannes M. Schmitt 12 年之前
父节点
当前提交
0ddafdbd7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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