From b3a5ca93c768f5fd6e39666929d8da0f014b01bb Mon Sep 17 00:00:00 2001 From: Paul Seiffert Date: Tue, 8 May 2012 23:26:01 +0200 Subject: [PATCH] Added comments -> IDE friendliness --- src/Composer/Console/Application.php | 12 +++++++++--- src/Composer/Repository/RepositoryInterface.php | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index ae7518618..555e6cf57 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -35,7 +35,14 @@ use Composer\Util\ErrorHandler; */ class Application extends BaseApplication { + /** + * @var Composer + */ protected $composer; + + /** + * @var ConsoleIO + */ protected $io; public function __construct() @@ -75,7 +82,8 @@ class Application extends BaseApplication } /** - * @return Composer + * @param bool $required + * @return \Composer\Composer */ public function getComposer($required = true) { @@ -87,8 +95,6 @@ class Application extends BaseApplication $this->io->write($e->getMessage()); exit(1); } - - return; } } diff --git a/src/Composer/Repository/RepositoryInterface.php b/src/Composer/Repository/RepositoryInterface.php index de735c039..b32872ef1 100644 --- a/src/Composer/Repository/RepositoryInterface.php +++ b/src/Composer/Repository/RepositoryInterface.php @@ -59,6 +59,8 @@ interface RepositoryInterface extends \Countable function getPackages(); /** + * Removes a package from the repository. + * * @abstract * @param \Composer\Package\PackageInterface $package * @return void