Added comments -> IDE friendliness
parent
51e165c6c5
commit
b3a5ca93c7
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue