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
1eb4cf31
Unverified
Commit
1eb4cf31
authored
Apr 20, 2018
by
Michael Moravec
Committed by
Sergei Morozov
Nov 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert complex type specification in Connection
parent
733c63a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
Connection.php
lib/Doctrine/DBAL/Connection.php
+11
-13
No files found.
lib/Doctrine/DBAL/Connection.php
View file @
1eb4cf31
...
@@ -870,7 +870,7 @@ class Connection implements DriverConnection
...
@@ -870,7 +870,7 @@ class Connection implements DriverConnection
*
*
* @param string $query The SQL query to execute.
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param int[]|string[]
$types The types the previous parameters are in.
* @param int[]|string[]
|Type[]
$types The types the previous parameters are in.
* @param QueryCacheProfile|null $qcp The query cache profile, optional.
* @param QueryCacheProfile|null $qcp The query cache profile, optional.
*
*
* @return ResultStatement The executed statement.
* @return ResultStatement The executed statement.
...
@@ -916,10 +916,10 @@ class Connection implements DriverConnection
...
@@ -916,10 +916,10 @@ class Connection implements DriverConnection
/**
/**
* Executes a caching query.
* Executes a caching query.
*
*
* @param string $query The SQL query to execute.
* @param string
$query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param mixed[]
$params The parameters to bind to the query, if any.
* @param int[]|string[]
$types The types the previous parameters are in.
* @param int[]|string[]
|Type[]
$types The types the previous parameters are in.
* @param QueryCacheProfile $qcp The query cache profile.
* @param QueryCacheProfile
$qcp The query cache profile.
*
*
* @throws CacheException
* @throws CacheException
*/
*/
...
@@ -1008,9 +1008,9 @@ class Connection implements DriverConnection
...
@@ -1008,9 +1008,9 @@ class Connection implements DriverConnection
*
*
* This method supports PDO binding types as well as DBAL mapping types.
* This method supports PDO binding types as well as DBAL mapping types.
*
*
* @param string $query The SQL query.
* @param string
$query The SQL query.
* @param mixed[] $params The query parameters.
* @param mixed[]
$params The query parameters.
* @param int[]|string[] $types The parameter types.
* @param int[]|string[]
|Type[]
$types The parameter types.
*
*
* @throws DBALException
* @throws DBALException
*/
*/
...
@@ -1457,11 +1457,9 @@ class Connection implements DriverConnection
...
@@ -1457,11 +1457,9 @@ class Connection implements DriverConnection
* @internal Duck-typing used on the $stmt parameter to support driver statements as well as
* @internal Duck-typing used on the $stmt parameter to support driver statements as well as
* raw PDOStatement instances.
* raw PDOStatement instances.
*
*
* @param DriverStatement $stmt The statement to bind the values to.
* @param DriverStatement $stmt The statement to bind the values to.
* @param mixed[] $params The map/list of named/positional parameters.
* @param mixed[] $params The map/list of named/positional parameters.
* @param int[]|string[] $types The parameter types (PDO binding types or DBAL mapping types).
* @param int[]|string[]|Type[] $types The parameter types.
*
* @return void
*/
*/
private
function
_bindTypedValues
(
DriverStatement
$stmt
,
array
$params
,
array
$types
)
:
void
private
function
_bindTypedValues
(
DriverStatement
$stmt
,
array
$params
,
array
$types
)
:
void
{
{
...
...
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