doctrine / DoctrineORMModule

Doctrine ORM Module for Laminas
https://www.doctrine-project.org/projects/doctrine-orm-module.html
MIT License
437 stars 229 forks source link

Typo in user guide documentation #717

Closed ch-feedbackpeople closed 2 years ago

ch-feedbackpeople commented 2 years ago

I smashed my brain why the example given in the user guide under "Connection settings" didn't work in my environment, I always got a "driver class could not be found" exception. After an hour of debugging it turns out just to be a typo.

'driverClass' => \Doctrine\DBAL\Driver\PDO\MySql\Driver::class,

should be

'driverClass' => \Doctrine\DBAL\Driver\PDO\MySQL\Driver::class,

"MySQL" instead of "MySql"

greg0ire commented 2 years ago

Please send a pull request