Commit a642dc22 authored by catch's avatar catch
Browse files

Issue #3298731 by alexpott, andypost, catch, Spokje, longwave, Berdir, bbrala,...

Issue #3298731 by alexpott, andypost, catch, Spokje, longwave, Berdir, bbrala, Wim Leers: Using ConstraintViolation::$arrayPropertyPath bugs on PHP 8.2
parent 04d7a533
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public function __toString(): string {
  /**
   * {@inheritdoc}
   */
  public function getMessage(): string|\Stringable {
  public function getMessage() {
    return $this->violation->getMessage();
  }

@@ -105,7 +105,7 @@ public function getPlural(): ?int {
  /**
   * {@inheritdoc}
   */
  public function getRoot(): mixed {
  public function getRoot() {
    return $this->violation->getRoot();
  }

@@ -119,7 +119,7 @@ public function getPropertyPath(): string {
  /**
   * {@inheritdoc}
   */
  public function getInvalidValue(): mixed {
  public function getInvalidValue() {
    return $this->violation->getInvalidValue();
  }