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
1238a500
Commit
1238a500
authored
Jun 10, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some more E_STRICT issues
parent
6ea281f1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
Mssql.php
lib/Doctrine/Export/Mssql.php
+1
-1
Oracle.php
lib/Doctrine/Expression/Oracle.php
+2
-3
Pgsql.php
lib/Doctrine/Expression/Pgsql.php
+2
-3
Mssql.php
lib/Doctrine/Import/Mssql.php
+1
-1
No files found.
lib/Doctrine/Export/Mssql.php
View file @
1238a500
...
...
@@ -150,7 +150,7 @@ class Doctrine_Export_Mssql extends Doctrine_Export
* actually perform them otherwise.
* @return void
*/
public
function
alterTable
(
$name
,
$changes
,
$check
)
public
function
alterTable
(
$name
,
array
$changes
,
$check
)
{
foreach
(
$changes
as
$changeName
=>
$change
)
{
switch
(
$changeName
)
{
...
...
lib/Doctrine/Expression/Oracle.php
View file @
1238a500
...
...
@@ -41,12 +41,11 @@ class Doctrine_Expression_Oracle extends Doctrine_Expression
* @param string $arg1, $arg2 ... $argN strings that will be concatinated.
* @return string
*/
public
function
concat
(
$arg1
,
$arg2
)
public
function
concat
()
{
$args
=
func_get_args
();
$cols
=
$this
->
getIdentifiers
(
$args
);
return
join
(
' || '
,
$cols
);
return
join
(
' || '
,
$args
);
}
/**
* return string to call a function to get a substring inside an SQL statement
...
...
lib/Doctrine/Expression/Pgsql.php
View file @
1238a500
...
...
@@ -92,12 +92,11 @@ class Doctrine_Expression_Pgsql extends Doctrine_Expression
* @param string|array(string) strings that will be concatinated.
* @return string
*/
public
function
concat
(
$arg1
,
$arg2
)
public
function
concat
()
{
$args
=
func_get_args
();
$cols
=
$this
->
getIdentifiers
(
$cols
);
return
join
(
' || '
,
$
col
s
);
return
join
(
' || '
,
$
arg
s
);
}
/**
* Returns the SQL string to return the current system date and time.
...
...
lib/Doctrine/Import/Mssql.php
View file @
1238a500
...
...
@@ -115,7 +115,7 @@ class Doctrine_Import_Mssql extends Doctrine_Import
*
* @return array
*/
public
function
listTriggers
()
public
function
listTriggers
(
$database
=
null
)
{
$query
=
"SELECT name FROM sysobjects WHERE xtype = 'TR'"
;
...
...
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