Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
335d58f9
Unverified
Commit
335d58f9
authored
Oct 31, 2017
by
belgattitude
Committed by
Luís Cobucci
Nov 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BC, removed return types on non-final classes
parent
63348cc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
AbstractMySQLDriver.php
lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
+2
-3
Driver.php
lib/Doctrine/DBAL/Driver/DrizzlePDOMySql/Driver.php
+4
-3
No files found.
lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
View file @
335d58f9
...
...
@@ -26,7 +26,6 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Platforms\MariaDb1027Platform
;
use
Doctrine\DBAL\Platforms\MySQL57Platform
;
use
Doctrine\DBAL\Platforms\MySqlPlatform
;
use
Doctrine\DBAL\Schema\AbstractSchemaManager
;
use
Doctrine\DBAL\Schema\MySqlSchemaManager
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
...
...
@@ -207,7 +206,7 @@ abstract class AbstractMySQLDriver implements Driver, ExceptionConverterDriver,
* {@inheritdoc}
* @return MySqlPlatform
*/
public
function
getDatabasePlatform
()
:
AbstractPlatform
public
function
getDatabasePlatform
()
{
return
new
MySqlPlatform
();
}
...
...
@@ -216,7 +215,7 @@ abstract class AbstractMySQLDriver implements Driver, ExceptionConverterDriver,
* {@inheritdoc}
* @return MySqlSchemaManager
*/
public
function
getSchemaManager
(
\Doctrine\DBAL\Connection
$conn
)
:
AbstractSchemaManager
public
function
getSchemaManager
(
\Doctrine\DBAL\Connection
$conn
)
{
return
new
MySqlSchemaManager
(
$conn
);
}
...
...
lib/Doctrine/DBAL/Driver/DrizzlePDOMySql/Driver.php
View file @
335d58f9
...
...
@@ -49,15 +49,16 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver
/**
* {@inheritdoc}
*/
public
function
createDatabasePlatformForVersion
(
$version
)
:
AbstractPlatform
public
function
createDatabasePlatformForVersion
(
$version
)
{
return
$this
->
getDatabasePlatform
();
}
/**
* {@inheritdoc}
* @return DrizzlePlatform
*/
public
function
getDatabasePlatform
()
:
AbstractPlatform
public
function
getDatabasePlatform
()
{
return
new
DrizzlePlatform
();
}
...
...
@@ -65,7 +66,7 @@ class Driver extends \Doctrine\DBAL\Driver\PDOMySql\Driver
/**
* {@inheritdoc}
*/
public
function
getSchemaManager
(
\Doctrine\DBAL\Connection
$conn
)
:
AbstractSchemaManager
public
function
getSchemaManager
(
\Doctrine\DBAL\Connection
$conn
)
{
return
new
DrizzleSchemaManager
(
$conn
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment