diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-19 15:01:13 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-19 15:04:20 +0300 |
commit | e6e6e6235bee524ca0184b3a8dcfecaa5cf42ac6 (patch) | |
tree | 6aa926ab8d532212f228a186cb4398feba42f7d0 | |
parent | 5e554b3534c44f122906fea36ef7698a5769316b (diff) | |
download | sql-parser-e6e6e6235bee524ca0184b3a8dcfecaa5cf42ac6.zip sql-parser-e6e6e6235bee524ca0184b3a8dcfecaa5cf42ac6.tar.gz sql-parser-e6e6e6235bee524ca0184b3a8dcfecaa5cf42ac6.tar.bz2 |
Minor style fix.
-rw-r--r-- | src/Component.php | 7 | ||||
-rw-r--r-- | src/Components/ExpressionArray.php | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/Component.php b/src/Component.php index cd77982..296ce77 100644 --- a/src/Component.php +++ b/src/Component.php @@ -34,8 +34,9 @@ abstract class Component * * @return mixed */ - public static function parse(Parser $parser, TokensList $list, array $options = array()) - { + public static function parse( + Parser $parser, TokensList $list, array $options = array() + ) { // This method should be abstract, but it can't be both static and // abstract. return null; @@ -65,7 +66,7 @@ abstract class Component * * @return string */ - public function __toString() + public function __toString() { return static::build($this); } diff --git a/src/Components/ExpressionArray.php b/src/Components/ExpressionArray.php index afabc3a..47e7dff 100644 --- a/src/Components/ExpressionArray.php +++ b/src/Components/ExpressionArray.php @@ -36,8 +36,6 @@ class ExpressionArray extends Component { $ret = array(); - $expr = null; - /** * The state of the parser. * |