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

        Oleg Namaka created issue -
        Marco Pivetta made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
        Oleg Namaka made changes -
        Summary Debug::export issue with swapped parameters Debug::toString issue with swapped parameters
        Description Debug::export has an issue with swapped parameters:
        {code}
        method_exists('__toString', $obj)
        {code}

        should be

        {code}
        method_exists($obj, '__toString')
        {code}
        Debug::toString has an issue with swapped parameters:
        {code}
        method_exists('__toString', $obj)
        {code}

        should be

        {code}
        method_exists($obj, '__toString')
        {code}
        Marco Pivetta made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.4 [ 10327 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: