Parcourir la source

Fix return values for getLicense and getBinaries

Kirill chEbba Chebunin il y a 13 ans
Parent
commit
7c8290e968
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/Composer/Package/PackageInterface.php

+ 2 - 2
src/Composer/Package/PackageInterface.php

@@ -183,7 +183,7 @@ interface PackageInterface
     /**
      * Returns the package license, e.g. MIT, BSD, GPL
      *
-     * @return string The package license
+     * @return array The package licenses
      */
     function getLicense();
 
@@ -304,7 +304,7 @@ interface PackageInterface
     /**
      * Returns the package binaries
      *
-     * @return string
+     * @return array
      */
     function getBinaries();