1
0
Fork 0

Added comments -> IDE friendliness

pull/665/head
Paul Seiffert 2012-05-08 23:26:01 +02:00
parent 51e165c6c5
commit b3a5ca93c7
2 changed files with 11 additions and 3 deletions

View File

@ -35,7 +35,14 @@ use Composer\Util\ErrorHandler;
*/ */
class Application extends BaseApplication class Application extends BaseApplication
{ {
/**
* @var Composer
*/
protected $composer; protected $composer;
/**
* @var ConsoleIO
*/
protected $io; protected $io;
public function __construct() public function __construct()
@ -75,7 +82,8 @@ class Application extends BaseApplication
} }
/** /**
* @return Composer * @param bool $required
* @return \Composer\Composer
*/ */
public function getComposer($required = true) public function getComposer($required = true)
{ {
@ -87,8 +95,6 @@ class Application extends BaseApplication
$this->io->write($e->getMessage()); $this->io->write($e->getMessage());
exit(1); exit(1);
} }
return;
} }
} }

View File

@ -59,6 +59,8 @@ interface RepositoryInterface extends \Countable
function getPackages(); function getPackages();
/** /**
* Removes a package from the repository.
*
* @abstract * @abstract
* @param \Composer\Package\PackageInterface $package * @param \Composer\Package\PackageInterface $package
* @return void * @return void