@@ -50,7 +50,7 @@ |
||
50 | 50 | public function setUp(): void |
51 | 51 | { |
52 | 52 | $this->tokenizer = $this->createMock(SqlTokenizer::class); |
53 | - $this->mutators = array(function () {}); |
|
53 | + $this->mutators = array(function() {}); |
|
54 | 54 | |
55 | 55 | $this->subject = new SqlParserClass($this->tokenizer, $this->mutators); |
56 | 56 | } |
@@ -94,7 +94,7 @@ |
||
94 | 94 | |
95 | 95 | $operator = new SqlAstTokenNode($this->parent, new SqlTokenInstanceClass( |
96 | 96 | 'AND', |
97 | - SqlToken::AND(), |
|
97 | + SqlToken:: AND (), |
|
98 | 98 | $this->line, |
99 | 99 | $this->column |
100 | 100 | )); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | public function hash(): string |
96 | 96 | { |
97 | - return md5(implode('.', array_map(function (SqlAstExpression $expression) { |
|
97 | + return md5(implode('.', array_map(function(SqlAstExpression $expression) { |
|
98 | 98 | return $expression->hash(); |
99 | 99 | }, $this->expressions))); |
100 | 100 | } |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | public function toSql(): string |
123 | 123 | { |
124 | - return '(' . implode(', ', array_map(function (SqlAstExpression $expression) { |
|
124 | + return '(' . implode(', ', array_map(function(SqlAstExpression $expression) { |
|
125 | 125 | return $expression->toSql(); |
126 | 126 | }, $this->expressions)) . ')'; |
127 | 127 | } |
@@ -77,7 +77,7 @@ |
||
77 | 77 | |
78 | 78 | public function toSql(): string |
79 | 79 | { |
80 | - return implode(' ', array_map(function (SqlAstNode $node) { |
|
80 | + return implode(' ', array_map(function(SqlAstNode $node) { |
|
81 | 81 | return $node->toSql(); |
82 | 82 | }, $this->children())); |
83 | 83 | } |