1
0
Fork 0

Fix AliasOperations output

pull/685/head
Jordi Boggiano 2012-05-13 22:41:02 +02:00
parent 46972fbc22
commit 5026f8a115
2 changed files with 2 additions and 2 deletions

View File

@ -61,6 +61,6 @@ class MarkAliasInstalledOperation extends SolverOperation
*/ */
public function __toString() public function __toString()
{ {
return 'Marking '.$this->package->getPrettyName().' ('.$this->package->getPrettyVersion().') as installed, alias of '.$this->package->getAliasOf()->getPrettyName().' ('.$this->package->getAliasOf()->getPrettyVersion().')'; return 'Marking '.$this->package->getPrettyName().' ('.$this->formatVersion($this->package).') as installed, alias of '.$this->package->getAliasOf()->getPrettyName().' ('.$this->formatVersion($this->package->getAliasOf()).')';
} }
} }

View File

@ -61,6 +61,6 @@ class MarkAliasUninstalledOperation extends SolverOperation
*/ */
public function __toString() public function __toString()
{ {
return 'Marking '.$this->package->getPrettyName().' ('.$this->package->getPrettyVersion().') as uninstalled, alias of '.$this->package->getAliasOf()->getPrettyName().' ('.$this->package->getAliasOf()->getPrettyVersion().')'; return 'Marking '.$this->package->getPrettyName().' ('.$this->formatVersion($this->package).') as uninstalled, alias of '.$this->package->getAliasOf()->getPrettyName().' ('.$this->formatVersion($this->package->getAliasOf()).')';
} }
} }