Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-589

Doctrine\DBAL\Schema\Column::visit has an Invalid Type Hint

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: None
    • Component/s: Schema Managers
    • Labels:
      None
    • Environment:

      Description

      Column::visit typehints against a class that doesn't exist (`Doctrine\DBAL\Schema\Visitor`).

      https://github.com/doctrine/dbal/blob/2.3/lib/Doctrine/DBAL/Schema/Column.php#L398

      Looks like there's a `use` statement at the top of the file that imports the correct class: https://github.com/doctrine/dbal/blob/2.3/lib/Doctrine/DBAL/Schema/Column.php#L23

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Christopher Davis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: