summaryrefslogtreecommitdiffstats
path: root/src/Components/Key.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-09-25 11:01:45 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-09-25 11:01:45 +0300
commit8f19b8f15e098b06587cc67ce02ecc204fd201c7 (patch)
tree4219e5576893acc5edf7035218114ce2dbd39ffc /src/Components/Key.php
parent1415469b34b1fc33189e2c801302597b5b50f704 (diff)
downloadsql-parser-8f19b8f15e098b06587cc67ce02ecc204fd201c7.zip
sql-parser-8f19b8f15e098b06587cc67ce02ecc204fd201c7.tar.gz
sql-parser-8f19b8f15e098b06587cc67ce02ecc204fd201c7.tar.bz2
Updated coding style to follow PSR-2 coding standards.
Diffstat (limited to 'src/Components/Key.php')
-rw-r--r--src/Components/Key.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Components/Key.php b/src/Components/Key.php
index 70b2b93..490d067 100644
--- a/src/Components/Key.php
+++ b/src/Components/Key.php
@@ -75,8 +75,11 @@ class Key extends Component
* @param string $type The type of this key.
* @param OptionsArray $options The options of this key.
*/
- public function __construct($name = null, array $columns = array(),
- $type = null, $options = null
+ public function __construct(
+ $name = null,
+ array $columns = array(),
+ $type = null,
+ $options = null
) {
$this->name = $name;
$this->columns = $columns;
@@ -119,7 +122,6 @@ class Key extends Component
$state = 0;
for (; $list->idx < $list->count; ++$list->idx) {
-
/**
* Token parsed at this moment.
*