Skip to content

Add Native Return Types #44366

@seb-jean

Description

@seb-jean

Symfony version(s) affected

6.0

Description

Hi,
I'm on Windows.
I made the command "vendor\bin\patch-type-declarations.bat" but I have errors:

Fatal error: Uncaught Error: Class "Doctrine\DBAL\Tools\Console\Command\ImportCommand" not found in C:\wamp64\www\my_project_name\vendor\doctrine\doctrine-bundle\Command\Proxy\ImportDoctrineCommand.php:17
Stack trace:
#0 C:\wamp64\www\my_project_name\vendor\symfony\error-handler\DebugClassLoader.php(287): include()
#1 [internal function]: Symfony\Component\ErrorHandler\DebugClassLoader->loadClass('Doctrine\\Bundle...')
#2 C:\wamp64\www\my_project_name\vendor\symfony\error-handler\Resources\bin\patch-type-declarations(82): class_exists('Doctrine\\Bundle...')
#3 {main}
  thrown in C:\wamp64\www\my_project_name\vendor\doctrine\doctrine-bundle\Command\Proxy\ImportDoctrineCommand.php on line 17

How to reproduce

Type command "vendor\bin\patch-type-declarations.bat"

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions