1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

More PSR-2 goodness

This commit is contained in:
Jordi Boggiano 2012-05-22 17:13:15 +02:00
parent 99513ba52b
commit c440b4594a
18 changed files with 108 additions and 108 deletions

View file

@ -25,19 +25,19 @@ interface OperationInterface
*
* @return string
*/
function getJobType();
public function getJobType();
/**
* Returns operation reason.
*
* @return string
*/
function getReason();
public function getReason();
/**
* Serializes the operation in a human readable format
*
* @return string
*/
function __toString();
public function __toString();
}

View file

@ -19,7 +19,7 @@ use Composer\Package\PackageInterface;
*/
interface PolicyInterface
{
function versionCompare(PackageInterface $a, PackageInterface $b, $operator);
function findUpdatePackages(Pool $pool, array $installedMap, PackageInterface $package);
function selectPreferedPackages(Pool $pool, array $installedMap, array $literals);
public function versionCompare(PackageInterface $a, PackageInterface $b, $operator);
public function findUpdatePackages(Pool $pool, array $installedMap, PackageInterface $package);
public function selectPreferedPackages(Pool $pool, array $installedMap, array $literals);
}