@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | ':=' => 8, |
108 | 108 | |
109 | 109 | // @see Token::FLAG_OPERATOR_SQL |
110 | - '(' => 16, ')' => 16, '.' => 16, ',' => 16, ';' => 16, |
|
110 | + '(' => 16, ')' => 16, '.' => 16, ',' => 16, ';' => 16, |
|
111 | 111 | ); |
112 | 112 | |
113 | 113 | /** |
@@ -125,67 +125,67 @@ discard block |
||
125 | 125 | |
126 | 126 | // Compatibility mode for Microsoft's SQL server. |
127 | 127 | // This is the equivalent of ANSI_QUOTES. |
128 | - const COMPAT_MYSQL = 2; |
|
128 | + const COMPAT_MYSQL = 2; |
|
129 | 129 | |
130 | 130 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_allow_invalid_dates |
131 | - const ALLOW_INVALID_DATES = 1; |
|
131 | + const ALLOW_INVALID_DATES = 1; |
|
132 | 132 | |
133 | 133 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_ansi_quotes |
134 | - const ANSI_QUOTES = 2; |
|
134 | + const ANSI_QUOTES = 2; |
|
135 | 135 | |
136 | 136 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_error_for_division_by_zero |
137 | - const ERROR_FOR_DIVISION_BY_ZERO = 4; |
|
137 | + const ERROR_FOR_DIVISION_BY_ZERO = 4; |
|
138 | 138 | |
139 | 139 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_high_not_precedence |
140 | - const HIGH_NOT_PRECEDENCE = 8; |
|
140 | + const HIGH_NOT_PRECEDENCE = 8; |
|
141 | 141 | |
142 | 142 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_ignore_space |
143 | - const IGNORE_SPACE = 16; |
|
143 | + const IGNORE_SPACE = 16; |
|
144 | 144 | |
145 | 145 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_auto_create_user |
146 | - const NO_AUTO_CREATE_USER = 32; |
|
146 | + const NO_AUTO_CREATE_USER = 32; |
|
147 | 147 | |
148 | 148 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_auto_value_on_zero |
149 | - const NO_AUTO_VALUE_ON_ZERO = 64; |
|
149 | + const NO_AUTO_VALUE_ON_ZERO = 64; |
|
150 | 150 | |
151 | 151 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_backslash_escapes |
152 | - const NO_BACKSLASH_ESCAPES = 128; |
|
152 | + const NO_BACKSLASH_ESCAPES = 128; |
|
153 | 153 | |
154 | 154 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_dir_in_create |
155 | - const NO_DIR_IN_CREATE = 256; |
|
155 | + const NO_DIR_IN_CREATE = 256; |
|
156 | 156 | |
157 | 157 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_dir_in_create |
158 | - const NO_ENGINE_SUBSTITUTION = 512; |
|
158 | + const NO_ENGINE_SUBSTITUTION = 512; |
|
159 | 159 | |
160 | 160 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_field_options |
161 | - const NO_FIELD_OPTIONS = 1024; |
|
161 | + const NO_FIELD_OPTIONS = 1024; |
|
162 | 162 | |
163 | 163 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_key_options |
164 | - const NO_KEY_OPTIONS = 2048; |
|
164 | + const NO_KEY_OPTIONS = 2048; |
|
165 | 165 | |
166 | 166 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_table_options |
167 | - const NO_TABLE_OPTIONS = 4096; |
|
167 | + const NO_TABLE_OPTIONS = 4096; |
|
168 | 168 | |
169 | 169 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_unsigned_subtraction |
170 | - const NO_UNSIGNED_SUBTRACTION = 8192; |
|
170 | + const NO_UNSIGNED_SUBTRACTION = 8192; |
|
171 | 171 | |
172 | 172 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_zero_date |
173 | - const NO_ZERO_DATE = 16384; |
|
173 | + const NO_ZERO_DATE = 16384; |
|
174 | 174 | |
175 | 175 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_no_zero_in_date |
176 | - const NO_ZERO_IN_DATE = 32768; |
|
176 | + const NO_ZERO_IN_DATE = 32768; |
|
177 | 177 | |
178 | 178 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_only_full_group_by |
179 | - const ONLY_FULL_GROUP_BY = 65536; |
|
179 | + const ONLY_FULL_GROUP_BY = 65536; |
|
180 | 180 | |
181 | 181 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_pipes_as_concat |
182 | - const PIPES_AS_CONCAT = 131072; |
|
182 | + const PIPES_AS_CONCAT = 131072; |
|
183 | 183 | |
184 | 184 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_real_as_float |
185 | - const REAL_AS_FLOAT = 262144; |
|
185 | + const REAL_AS_FLOAT = 262144; |
|
186 | 186 | |
187 | 187 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_strict_all_tables |
188 | - const STRICT_ALL_TABLES = 524288; |
|
188 | + const STRICT_ALL_TABLES = 524288; |
|
189 | 189 | |
190 | 190 | // https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html#sqlmode_strict_trans_tables |
191 | 191 | const STRICT_TRANS_TABLES = 1048576; |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | // The table and column names and any other field that must be escaped will |
196 | 196 | // not be. |
197 | 197 | // Reserved keywords are being escaped regardless this mode is used or not. |
198 | - const NO_ENCLOSING_QUOTES = 1073741824; |
|
198 | + const NO_ENCLOSING_QUOTES = 1073741824; |
|
199 | 199 | |
200 | 200 | /* |
201 | 201 | * Combination SQL Modes |
@@ -203,31 +203,31 @@ discard block |
||
203 | 203 | */ |
204 | 204 | |
205 | 205 | // REAL_AS_FLOAT, PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE |
206 | - const SQL_MODE_ANSI = 393234; |
|
206 | + const SQL_MODE_ANSI = 393234; |
|
207 | 207 | |
208 | 208 | // PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, |
209 | 209 | // NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, |
210 | - const SQL_MODE_DB2 = 138258; |
|
210 | + const SQL_MODE_DB2 = 138258; |
|
211 | 211 | |
212 | 212 | // PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, |
213 | 213 | // NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, NO_AUTO_CREATE_USER |
214 | - const SQL_MODE_MAXDB = 138290; |
|
214 | + const SQL_MODE_MAXDB = 138290; |
|
215 | 215 | |
216 | 216 | // PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, |
217 | 217 | // NO_TABLE_OPTIONS, NO_FIELD_OPTIONS |
218 | - const SQL_MODE_MSSQL = 138258; |
|
218 | + const SQL_MODE_MSSQL = 138258; |
|
219 | 219 | |
220 | 220 | // PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, |
221 | 221 | // NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, NO_AUTO_CREATE_USER |
222 | - const SQL_MODE_ORACLE = 138290; |
|
222 | + const SQL_MODE_ORACLE = 138290; |
|
223 | 223 | |
224 | 224 | // PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, |
225 | 225 | // NO_TABLE_OPTIONS, NO_FIELD_OPTIONS |
226 | - const SQL_MODE_POSTGRESQL = 138258; |
|
226 | + const SQL_MODE_POSTGRESQL = 138258; |
|
227 | 227 | |
228 | 228 | // STRICT_TRANS_TABLES, STRICT_ALL_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, |
229 | 229 | // ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER |
230 | - const SQL_MODE_TRADITIONAL = 1622052; |
|
230 | + const SQL_MODE_TRADITIONAL = 1622052; |
|
231 | 231 | |
232 | 232 | // ------------------------------------------------------------------------- |
233 | 233 | // Keyword. |
@@ -431,11 +431,11 @@ discard block |
||
431 | 431 | } |
432 | 432 | if ($context[0] !== '\\') { |
433 | 433 | // Short context name (must be formatted into class name). |
434 | - $context = self::$contextPrefix . $context; |
|
434 | + $context = self::$contextPrefix.$context; |
|
435 | 435 | } |
436 | 436 | if (!class_exists($context)) { |
437 | 437 | throw new \Exception( |
438 | - 'Specified context ("' . $context . '") does not exist.' |
|
438 | + 'Specified context ("'.$context.'") does not exist.' |
|
439 | 439 | ); |
440 | 440 | } |
441 | 441 | self::$loadedContext = $context; |
@@ -506,7 +506,7 @@ discard block |
||
506 | 506 | } |
507 | 507 | $mode = explode(',', $mode); |
508 | 508 | foreach ($mode as $m) { |
509 | - static::$MODE |= constant('static::' . $m); |
|
509 | + static::$MODE |= constant('static::'.$m); |
|
510 | 510 | } |
511 | 511 | } |
512 | 512 | |
@@ -537,7 +537,7 @@ discard block |
||
537 | 537 | $quote = '"'; |
538 | 538 | } |
539 | 539 | |
540 | - return $quote . str_replace($quote, $quote . $quote, $str) . $quote; |
|
540 | + return $quote.str_replace($quote, $quote.$quote, $str).$quote; |
|
541 | 541 | } |
542 | 542 | } |
543 | 543 |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | $lastToken->token .= $token->token; |
280 | 280 | $lastToken->type = Token::TYPE_SYMBOL; |
281 | 281 | $lastToken->flags = Token::FLAG_SYMBOL_USER; |
282 | - $lastToken->value .= '@' . $token->value; |
|
282 | + $lastToken->value .= '@'.$token->value; |
|
283 | 283 | continue; |
284 | 284 | } elseif (($lastToken !== null) |
285 | 285 | && ($token->type === Token::TYPE_KEYWORD) |
@@ -595,8 +595,8 @@ discard block |
||
595 | 595 | } |
596 | 596 | |
597 | 597 | $iBak = $this->last; |
598 | - $token = $this->str[$this->last] . $this->str[++$this->last] |
|
599 | - . $this->str[++$this->last] . $this->str[++$this->last]; // _TRUE_ or _FALS_e |
|
598 | + $token = $this->str[$this->last].$this->str[++$this->last] |
|
599 | + . $this->str[++$this->last].$this->str[++$this->last]; // _TRUE_ or _FALS_e |
|
600 | 600 | |
601 | 601 | if (Context::isBool($token)) { |
602 | 602 | return new Token($token, Token::TYPE_BOOL); |
@@ -769,7 +769,7 @@ discard block |
||
769 | 769 | && ((($this->str[$this->last] === $quote) && ($this->str[$this->last + 1] === $quote)) |
770 | 770 | || (($this->str[$this->last] === '\\') && ($quote !== '`'))) |
771 | 771 | ) { |
772 | - $token .= $this->str[$this->last] . $this->str[++$this->last]; |
|
772 | + $token .= $this->str[$this->last].$this->str[++$this->last]; |
|
773 | 773 | } else { |
774 | 774 | if ($this->str[$this->last] === $quote) { |
775 | 775 | break; |
@@ -150,8 +150,8 @@ |
||
150 | 150 | $tmp[] = $altered::build($altered); |
151 | 151 | } |
152 | 152 | |
153 | - return 'ALTER ' . OptionsArray::build($this->options) |
|
154 | - . ' ' . Expression::build($this->table) |
|
155 | - . ' ' . implode(', ', $tmp); |
|
153 | + return 'ALTER '.OptionsArray::build($this->options) |
|
154 | + . ' '.Expression::build($this->table) |
|
155 | + . ' '.implode(', ', $tmp); |
|
156 | 156 | } |
157 | 157 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | public function build() |
41 | 41 | { |
42 | 42 | // Building the parsed part of the query (if any). |
43 | - $query = parent::build() . ' '; |
|
43 | + $query = parent::build().' '; |
|
44 | 44 | |
45 | 45 | // Rebuilding the unknown part from tokens. |
46 | 46 | foreach ($this->unknown as $token) { |
@@ -30,14 +30,14 @@ discard block |
||
30 | 30 | * |
31 | 31 | * @var int |
32 | 32 | */ |
33 | - const TYPE_BEGIN = 1; |
|
33 | + const TYPE_BEGIN = 1; |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * COMMIT and ROLLBACK |
37 | 37 | * |
38 | 38 | * @var int |
39 | 39 | */ |
40 | - const TYPE_END = 2; |
|
40 | + const TYPE_END = 2; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * The type of this query. |
@@ -111,9 +111,9 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * @var SelectStatement $statement |
113 | 113 | */ |
114 | - $ret .= ';' . $statement->build(); |
|
114 | + $ret .= ';'.$statement->build(); |
|
115 | 115 | } |
116 | - $ret .= ';' . $this->end->build(); |
|
116 | + $ret .= ';'.$this->end->build(); |
|
117 | 117 | } |
118 | 118 | return $ret; |
119 | 119 | } |
@@ -175,12 +175,12 @@ |
||
175 | 175 | |
176 | 176 | // Checking if the name of the clause should be added. |
177 | 177 | if ($type & 2) { |
178 | - $query .= $name . ' '; |
|
178 | + $query .= $name.' '; |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | // Checking if the result of the builder should be added. |
182 | 182 | if ($type & 1) { |
183 | - $query .= $class::build($this->$field) . ' '; |
|
183 | + $query .= $class::build($this->$field).' '; |
|
184 | 184 | } |
185 | 185 | } |
186 | 186 |
@@ -152,9 +152,9 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | // Appending the filename to directories. |
155 | - $inputFile = $input . '/' . $file; |
|
156 | - $outputFile = $output . '/' . $file; |
|
157 | - $debugFile = ($debug !== null) ? $debug . '/' . $file : null; |
|
155 | + $inputFile = $input.'/'.$file; |
|
156 | + $outputFile = $output.'/'.$file; |
|
157 | + $debugFile = ($debug !== null) ? $debug.'/'.$file : null; |
|
158 | 158 | |
159 | 159 | if (is_dir($inputFile)) { |
160 | 160 | // Creating required directories to maintain the structure. |
@@ -171,9 +171,9 @@ discard block |
||
171 | 171 | } elseif (substr($inputFile, -3) === '.in') { |
172 | 172 | // Generating file names by replacing `.in` with `.out` and |
173 | 173 | // `.debug`. |
174 | - $outputFile = substr($outputFile, 0, -3) . '.out'; |
|
174 | + $outputFile = substr($outputFile, 0, -3).'.out'; |
|
175 | 175 | if ($debug !== null) { |
176 | - $debugFile = substr($debugFile, 0, -3) . '.debug'; |
|
176 | + $debugFile = substr($debugFile, 0, -3).'.debug'; |
|
177 | 177 | } |
178 | 178 | |
179 | 179 | // Building the test. |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | $ret->subquery = $token->value; |
229 | 229 | } elseif (($token->flags & Token::FLAG_KEYWORD_FUNCTION) |
230 | 230 | && (empty($options['parseField']) |
231 | - && ! $alias) |
|
231 | + && !$alias) |
|
232 | 232 | ) { |
233 | 233 | $isExpr = true; |
234 | 234 | } elseif (($token->flags & Token::FLAG_KEYWORD_RESERVED) |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | continue; |
256 | 256 | } |
257 | 257 | $isExpr = true; |
258 | - } elseif ($brackets === 0 && count($ret->expr) > 0 && ! $alias) { |
|
258 | + } elseif ($brackets === 0 && count($ret->expr) > 0 && !$alias) { |
|
259 | 259 | /* End of expression */ |
260 | 260 | break; |
261 | 261 | } |
@@ -433,7 +433,7 @@ discard block |
||
433 | 433 | } |
434 | 434 | |
435 | 435 | if (!empty($component->alias)) { |
436 | - $ret .= ' AS ' . Context::escape($component->alias); |
|
436 | + $ret .= ' AS '.Context::escape($component->alias); |
|
437 | 437 | } |
438 | 438 | |
439 | 439 | return $ret; |
@@ -277,80 +277,80 @@ |
||
277 | 277 | $fields = ''; |
278 | 278 | if (!empty($this->fields)) { |
279 | 279 | if (is_array($this->fields)) { |
280 | - $fields = CreateDefinition::build($this->fields) . ' '; |
|
280 | + $fields = CreateDefinition::build($this->fields).' '; |
|
281 | 281 | } elseif ($this->fields instanceof ArrayObj) { |
282 | 282 | $fields = ArrayObj::build($this->fields); |
283 | 283 | } |
284 | 284 | } |
285 | 285 | if ($this->options->has('DATABASE')) { |
286 | 286 | return 'CREATE ' |
287 | - . OptionsArray::build($this->options) . ' ' |
|
288 | - . Expression::build($this->name) . ' ' |
|
287 | + . OptionsArray::build($this->options).' ' |
|
288 | + . Expression::build($this->name).' ' |
|
289 | 289 | . OptionsArray::build($this->entityOptions); |
290 | 290 | } elseif ($this->options->has('TABLE') && !is_null($this->select)) { |
291 | 291 | return 'CREATE ' |
292 | - . OptionsArray::build($this->options) . ' ' |
|
293 | - . Expression::build($this->name) . ' ' |
|
292 | + . OptionsArray::build($this->options).' ' |
|
293 | + . Expression::build($this->name).' ' |
|
294 | 294 | . $this->select->build(); |
295 | 295 | } elseif ($this->options->has('TABLE') && !is_null($this->like)) { |
296 | 296 | return 'CREATE ' |
297 | - . OptionsArray::build($this->options) . ' ' |
|
298 | - . Expression::build($this->name) . ' LIKE ' |
|
297 | + . OptionsArray::build($this->options).' ' |
|
298 | + . Expression::build($this->name).' LIKE ' |
|
299 | 299 | . Expression::build($this->like); |
300 | 300 | } elseif ($this->options->has('TABLE')) { |
301 | 301 | $partition = ''; |
302 | 302 | |
303 | 303 | if (!empty($this->partitionBy)) { |
304 | - $partition .= "\nPARTITION BY " . $this->partitionBy; |
|
304 | + $partition .= "\nPARTITION BY ".$this->partitionBy; |
|
305 | 305 | } |
306 | 306 | if (!empty($this->partitionsNum)) { |
307 | - $partition .= "\nPARTITIONS " . $this->partitionsNum; |
|
307 | + $partition .= "\nPARTITIONS ".$this->partitionsNum; |
|
308 | 308 | } |
309 | 309 | if (!empty($this->subpartitionBy)) { |
310 | - $partition .= "\nSUBPARTITION BY " . $this->subpartitionBy; |
|
310 | + $partition .= "\nSUBPARTITION BY ".$this->subpartitionBy; |
|
311 | 311 | } |
312 | 312 | if (!empty($this->subpartitionsNum)) { |
313 | - $partition .= "\nSUBPARTITIONS " . $this->subpartitionsNum; |
|
313 | + $partition .= "\nSUBPARTITIONS ".$this->subpartitionsNum; |
|
314 | 314 | } |
315 | 315 | if (!empty($this->partitions)) { |
316 | - $partition .= "\n" . PartitionDefinition::build($this->partitions); |
|
316 | + $partition .= "\n".PartitionDefinition::build($this->partitions); |
|
317 | 317 | } |
318 | 318 | |
319 | 319 | return 'CREATE ' |
320 | - . OptionsArray::build($this->options) . ' ' |
|
321 | - . Expression::build($this->name) . ' ' |
|
320 | + . OptionsArray::build($this->options).' ' |
|
321 | + . Expression::build($this->name).' ' |
|
322 | 322 | . $fields |
323 | 323 | . OptionsArray::build($this->entityOptions) |
324 | 324 | . $partition; |
325 | 325 | } elseif ($this->options->has('VIEW')) { |
326 | 326 | return 'CREATE ' |
327 | - . OptionsArray::build($this->options) . ' ' |
|
328 | - . Expression::build($this->name) . ' ' |
|
329 | - . $fields . ' AS ' . TokensList::build($this->body) . ' ' |
|
327 | + . OptionsArray::build($this->options).' ' |
|
328 | + . Expression::build($this->name).' ' |
|
329 | + . $fields.' AS '.TokensList::build($this->body).' ' |
|
330 | 330 | . OptionsArray::build($this->entityOptions); |
331 | 331 | } elseif ($this->options->has('TRIGGER')) { |
332 | 332 | return 'CREATE ' |
333 | - . OptionsArray::build($this->options) . ' ' |
|
334 | - . Expression::build($this->name) . ' ' |
|
335 | - . OptionsArray::build($this->entityOptions) . ' ' |
|
336 | - . 'ON ' . Expression::build($this->table) . ' ' |
|
337 | - . 'FOR EACH ROW ' . TokensList::build($this->body); |
|
333 | + . OptionsArray::build($this->options).' ' |
|
334 | + . Expression::build($this->name).' ' |
|
335 | + . OptionsArray::build($this->entityOptions).' ' |
|
336 | + . 'ON '.Expression::build($this->table).' ' |
|
337 | + . 'FOR EACH ROW '.TokensList::build($this->body); |
|
338 | 338 | } elseif (($this->options->has('PROCEDURE')) |
339 | 339 | || ($this->options->has('FUNCTION')) |
340 | 340 | ) { |
341 | 341 | $tmp = ''; |
342 | 342 | if ($this->options->has('FUNCTION')) { |
343 | - $tmp = 'RETURNS ' . DataType::build($this->return); |
|
343 | + $tmp = 'RETURNS '.DataType::build($this->return); |
|
344 | 344 | } |
345 | 345 | return 'CREATE ' |
346 | - . OptionsArray::build($this->options) . ' ' |
|
347 | - . Expression::build($this->name) . ' ' |
|
348 | - . ParameterDefinition::build($this->parameters) . ' ' |
|
349 | - . $tmp . ' ' . TokensList::build($this->body); |
|
346 | + . OptionsArray::build($this->options).' ' |
|
347 | + . Expression::build($this->name).' ' |
|
348 | + . ParameterDefinition::build($this->parameters).' ' |
|
349 | + . $tmp.' '.TokensList::build($this->body); |
|
350 | 350 | } |
351 | 351 | return 'CREATE ' |
352 | - . OptionsArray::build($this->options) . ' ' |
|
353 | - . Expression::build($this->name) . ' ' |
|
352 | + . OptionsArray::build($this->options).' ' |
|
353 | + . Expression::build($this->name).' ' |
|
354 | 354 | . TokensList::build($this->body); |
355 | 355 | } |
356 | 356 |