Doctrine Common
  1. Doctrine Common
  2. DCOM-103

Debug::toString issue with swapped parameters

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None

      Description

      Debug::toString has an issue with swapped parameters:

      method_exists('__toString', $obj)
      

      should be

      method_exists($obj, '__toString')
      

        Activity

        Show
        Marco Pivetta added a comment - Fixed in master @ https://github.com/doctrine/common/commit/301228e3a52d5259a341423daf75b25366895f17

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Oleg Namaka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: