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:
parent
99513ba52b
commit
c440b4594a
18 changed files with 108 additions and 108 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue