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
d0b17ecc
Commit
d0b17ecc
authored
Jun 27, 2010
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DDC-274 - Fix naming inconsistency in Type::getSqlDeclaration to Type::getSQLDeclaration
parent
b479cbdd
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
14 deletions
+14
-14
ArrayType.php
lib/Doctrine/DBAL/Types/ArrayType.php
+1
-1
BigIntType.php
lib/Doctrine/DBAL/Types/BigIntType.php
+1
-1
BooleanType.php
lib/Doctrine/DBAL/Types/BooleanType.php
+1
-1
DateTimeType.php
lib/Doctrine/DBAL/Types/DateTimeType.php
+1
-1
DateTimeTzType.php
lib/Doctrine/DBAL/Types/DateTimeTzType.php
+1
-1
DateType.php
lib/Doctrine/DBAL/Types/DateType.php
+1
-1
DecimalType.php
lib/Doctrine/DBAL/Types/DecimalType.php
+1
-1
IntegerType.php
lib/Doctrine/DBAL/Types/IntegerType.php
+1
-1
ObjectType.php
lib/Doctrine/DBAL/Types/ObjectType.php
+1
-1
SmallIntType.php
lib/Doctrine/DBAL/Types/SmallIntType.php
+1
-1
StringType.php
lib/Doctrine/DBAL/Types/StringType.php
+1
-1
TextType.php
lib/Doctrine/DBAL/Types/TextType.php
+1
-1
TimeType.php
lib/Doctrine/DBAL/Types/TimeType.php
+1
-1
Type.php
lib/Doctrine/DBAL/Types/Type.php
+1
-1
No files found.
lib/Doctrine/DBAL/Types/ArrayType.php
View file @
d0b17ecc
...
...
@@ -28,7 +28,7 @@ namespace Doctrine\DBAL\Types;
*/
class
ArrayType
extends
Type
{
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
\Doctrine\DBAL\Platforms\AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
\Doctrine\DBAL\Platforms\AbstractPlatform
$platform
)
{
return
$platform
->
getClobTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/BigIntType.php
View file @
d0b17ecc
...
...
@@ -36,7 +36,7 @@ class BigIntType extends Type
return
Type
::
BIGINT
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getBigIntTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/BooleanType.php
View file @
d0b17ecc
...
...
@@ -30,7 +30,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
*/
class
BooleanType
extends
Type
{
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getBooleanTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/DateTimeType.php
View file @
d0b17ecc
...
...
@@ -33,7 +33,7 @@ class DateTimeType extends Type
return
Type
::
DATETIME
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getDateTimeTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/DateTimeTzType.php
View file @
d0b17ecc
...
...
@@ -53,7 +53,7 @@ class DateTimeTzType extends Type
return
Type
::
DATETIMETZ
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getDateTimeTzTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/DateType.php
View file @
d0b17ecc
...
...
@@ -33,7 +33,7 @@ class DateType extends Type
return
Type
::
DATE
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getDateTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/DecimalType.php
View file @
d0b17ecc
...
...
@@ -35,7 +35,7 @@ class DecimalType extends Type
return
Type
::
DECIMAL
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getDecimalTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/IntegerType.php
View file @
d0b17ecc
...
...
@@ -36,7 +36,7 @@ class IntegerType extends Type
return
Type
::
INTEGER
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getIntegerTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/ObjectType.php
View file @
d0b17ecc
...
...
@@ -9,7 +9,7 @@ namespace Doctrine\DBAL\Types;
*/
class
ObjectType
extends
Type
{
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
\Doctrine\DBAL\Platforms\AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
\Doctrine\DBAL\Platforms\AbstractPlatform
$platform
)
{
return
$platform
->
getClobTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/SmallIntType.php
View file @
d0b17ecc
...
...
@@ -35,7 +35,7 @@ class SmallIntType extends Type
return
Type
::
SMALLINT
;
}
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getSmallIntTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/StringType.php
View file @
d0b17ecc
...
...
@@ -31,7 +31,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
class
StringType
extends
Type
{
/** @override */
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getVarcharTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/TextType.php
View file @
d0b17ecc
...
...
@@ -31,7 +31,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
class
TextType
extends
Type
{
/** @override */
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getClobTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/TimeType.php
View file @
d0b17ecc
...
...
@@ -36,7 +36,7 @@ class TimeType extends Type
/**
* {@inheritdoc}
*/
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
$platform
->
getTimeTypeDeclarationSQL
(
$fieldDeclaration
);
}
...
...
lib/Doctrine/DBAL/Types/Type.php
View file @
d0b17ecc
...
...
@@ -113,7 +113,7 @@ abstract class Type
* @param array $fieldDeclaration The field declaration.
* @param AbstractPlatform $platform The currently used database platform.
*/
abstract
public
function
getS
ql
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
);
abstract
public
function
getS
QL
Declaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
);
/**
* Gets the name of this type.
...
...
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