Explicitly implement Stringable for PHP 8+

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 1.12.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Stringable was introduced in PHP 8.0. From PHP 8.1, it will be implicitly implemented for classes that have a __toString() method; however, explicit implementation is still encouraged. We should do so when compiling for PHP 8.0+.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: