diff --git a/src/Composer/Factory.php b/src/Composer/Factory.php index 4cad60d97..32b489ed4 100644 --- a/src/Composer/Factory.php +++ b/src/Composer/Factory.php @@ -27,6 +27,9 @@ use Composer\Util\RemoteFilesystem; */ class Factory { + /** + * @return Config + */ public static function createConfig() { // load main Composer configuration diff --git a/src/Composer/Package/PackageInterface.php b/src/Composer/Package/PackageInterface.php index 43a07d28b..43bd8b88c 100644 --- a/src/Composer/Package/PackageInterface.php +++ b/src/Composer/Package/PackageInterface.php @@ -288,7 +288,7 @@ interface PackageInterface /** * Returns the release date of the package * - * @return DateTime + * @return \DateTime */ function getReleaseDate();