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

BC, removed return types on non-final classes

parent 63348cc2
...@@ -26,7 +26,6 @@ use Doctrine\DBAL\Platforms\AbstractPlatform; ...@@ -26,7 +26,6 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\MariaDb1027Platform; use Doctrine\DBAL\Platforms\MariaDb1027Platform;
use Doctrine\DBAL\Platforms\MySQL57Platform; use Doctrine\DBAL\Platforms\MySQL57Platform;
use Doctrine\DBAL\Platforms\MySqlPlatform; use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
use Doctrine\DBAL\Schema\MySqlSchemaManager; use Doctrine\DBAL\Schema\MySqlSchemaManager;
use Doctrine\DBAL\VersionAwarePlatformDriver; use Doctrine\DBAL\VersionAwarePlatformDriver;
...@@ -207,7 +206,7 @@ abstract class AbstractMySQLDriver implements Driver, ExceptionConverterDriver, ...@@ -207,7 +206,7 @@ abstract class AbstractMySQLDriver implements Driver, ExceptionConverterDriver,
* {@inheritdoc} * {@inheritdoc}
* @return MySqlPlatform * @return MySqlPlatform
*/ */
public function getDatabasePlatform() : AbstractPlatform public function getDatabasePlatform()
{ {
return new MySqlPlatform(); return new MySqlPlatform();
} }
...@@ -216,7 +215,7 @@ abstract class AbstractMySQLDriver implements Driver, ExceptionConverterDriver, ...@@ -216,7 +215,7 @@ abstract class AbstractMySQLDriver implements Driver, ExceptionConverterDriver,
* {@inheritdoc} * {@inheritdoc}
* @return MySqlSchemaManager * @return MySqlSchemaManager
*/ */
public function getSchemaManager(\Doctrine\DBAL\Connection $conn) : AbstractSchemaManager public function getSchemaManager(\Doctrine\DBAL\Connection $conn)
{ {
return new MySqlSchemaManager($conn); return new MySqlSchemaManager($conn);
} }
......
...@@ -49,15 +49,16 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver ...@@ -49,15 +49,16 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function createDatabasePlatformForVersion($version) : AbstractPlatform public function createDatabasePlatformForVersion($version)
{ {
return $this->getDatabasePlatform(); return $this->getDatabasePlatform();
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
* @return DrizzlePlatform
*/ */
public function getDatabasePlatform() : AbstractPlatform public function getDatabasePlatform()
{ {
return new DrizzlePlatform(); return new DrizzlePlatform();
} }
...@@ -65,7 +66,7 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver ...@@ -65,7 +66,7 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getSchemaManager(\Doctrine\DBAL\Connection $conn) : AbstractSchemaManager public function getSchemaManager(\Doctrine\DBAL\Connection $conn)
{ {
return new DrizzleSchemaManager($conn); 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