Adjust operation output, fixes #166
parent
812bf9a2af
commit
c921a8884e
|
@ -61,6 +61,6 @@ class InstallOperation extends SolverOperation
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'Installing '.$this->package;
|
||||
return 'Installing '.$this->package->getPrettyName().' ('.$this->package->getPrettyVersion().')';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,6 +61,6 @@ class UninstallOperation extends SolverOperation
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'Uninstalling '.$this->package;
|
||||
return 'Uninstalling '.$this->package->getPrettyName().' ('.$this->package->getPrettyVersion().')';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,6 +74,7 @@ class UpdateOperation extends SolverOperation
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'Updating '.$this->initialPackage.' to '.$this->targetPackage;
|
||||
return 'Updating '.$this->initialPackage->getPrettyName().' ('.$this->initialPackage->getPrettyVersion().') to '.
|
||||
$this->targetPackage->getPrettyName(). '('.$this->targetPackage->getPrettyVersion().')';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue