Fix phpstan error
parent
0b436de794
commit
64d39a9655
|
@ -17,6 +17,8 @@ use Composer\Repository\RepositorySet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Nils Adermann <naderman@naderman.de>
|
* @author Nils Adermann <naderman@naderman.de>
|
||||||
|
*
|
||||||
|
* @method self::ERROR_DEPENDENCY_RESOLUTION_FAILED getCode()
|
||||||
*/
|
*/
|
||||||
class SolverProblemsException extends \RuntimeException
|
class SolverProblemsException extends \RuntimeException
|
||||||
{
|
{
|
||||||
|
|
|
@ -384,6 +384,7 @@ class Installer
|
||||||
* @param bool $doInstall
|
* @param bool $doInstall
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
|
* @phpstan-return self::ERROR_*
|
||||||
*/
|
*/
|
||||||
protected function doUpdate(InstalledRepositoryInterface $localRepo, $doInstall)
|
protected function doUpdate(InstalledRepositoryInterface $localRepo, $doInstall)
|
||||||
{
|
{
|
||||||
|
@ -645,6 +646,7 @@ class Installer
|
||||||
* @param InstalledRepositoryInterface $localRepo
|
* @param InstalledRepositoryInterface $localRepo
|
||||||
* @param bool $alreadySolved Whether the function is called as part of an update command or independently
|
* @param bool $alreadySolved Whether the function is called as part of an update command or independently
|
||||||
* @return int exit code
|
* @return int exit code
|
||||||
|
* @phpstan-return self::ERROR_*
|
||||||
*/
|
*/
|
||||||
protected function doInstall(InstalledRepositoryInterface $localRepo, $alreadySolved = false)
|
protected function doInstall(InstalledRepositoryInterface $localRepo, $alreadySolved = false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue