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
c285b75b
Commit
c285b75b
authored
May 03, 2020
by
Guilherme Blanco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
phpcs
parent
560c4b6e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
19 deletions
+2
-19
Index.php
src/Schema/Index.php
+0
-2
UniqueConstraint.php
src/Schema/UniqueConstraint.php
+2
-17
No files found.
src/Schema/Index.php
View file @
c285b75b
...
...
@@ -72,8 +72,6 @@ class Index extends AbstractAsset implements Constraint
}
/**
* @return void
*
* @throws InvalidArgumentException
*/
protected
function
_addColumn
(
string
$column
)
:
void
...
...
src/Schema/UniqueConstraint.php
View file @
c285b75b
...
...
@@ -36,7 +36,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
private
$options
=
[];
/**
* @param string $name
* @param string[] $columns
* @param string[] $flags
* @param mixed[] $options
...
...
@@ -99,10 +98,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
/**
* Adds flag for a unique constraint that translates to platform specific handling.
*
* @param string $flag
*
* @return self
*
* @example $uniqueConstraint->addFlag('CLUSTERED')
*/
public
function
addFlag
(
string
$flag
)
:
UniqueConstraint
...
...
@@ -114,10 +109,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
/**
* Does this unique constraint have a specific flag?
*
* @param string $flag
*
* @return bool
*/
public
function
hasFlag
(
string
$flag
)
:
bool
{
...
...
@@ -126,10 +117,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
/**
* Removes a flag.
*
* @param string $flag
*
* @return void
*/
public
function
removeFlag
(
string
$flag
)
:
void
{
...
...
@@ -137,9 +124,7 @@ class UniqueConstraint extends AbstractAsset implements Constraint
}
/**
* @param string $name
*
* @return bool
* Does this unique constraint have a specific option?
*/
public
function
hasOption
(
string
$name
)
:
bool
{
...
...
@@ -163,7 +148,7 @@ class UniqueConstraint extends AbstractAsset implements Constraint
}
/**
*
@return void
*
Adds a new column to the unique constraint.
*/
protected
function
addColumn
(
string
$column
)
:
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