You are here

public function EmptyConstraint::getPrettyString in Automatic Updates 7

Return value

string

Overrides ConstraintInterface::getPrettyString

File

vendor/composer/semver/src/Constraint/EmptyConstraint.php, line 43

Class

EmptyConstraint
Defines the absence of a constraint.

Namespace

Composer\Semver\Constraint

Code

public function getPrettyString() {
  if ($this->prettyString) {
    return $this->prettyString;
  }
  return (string) $this;
}