Unverified Commit c86b6229 authored by belgattitude's avatar belgattitude Committed by Luís Cobucci

Fixed typings

parent a4d3068f
......@@ -21,6 +21,7 @@ namespace Doctrine\DBAL\Driver\DrizzlePDOMySql;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\DrizzlePlatform;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
use Doctrine\DBAL\Schema\DrizzleSchemaManager;
/**
......@@ -56,7 +57,7 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver
/**
* {@inheritdoc}
*/
public function getDatabasePlatform()
public function getDatabasePlatform(): AbstractPlatform
{
return new DrizzlePlatform();
}
......@@ -64,7 +65,7 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver
/**
* {@inheritdoc}
*/
public function getSchemaManager(\Doctrine\DBAL\Connection $conn)
public function getSchemaManager(\Doctrine\DBAL\Connection $conn): AbstractSchemaManager
{
return new DrizzleSchemaManager($conn);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment