@@ -71,7 +71,7 @@ public function online() : static
7171
7272 protected function renderOnline () : ?string
7373 {
74- if ( ! isset ($ this ->sql ['online ' ])) {
74+ if (! isset ($ this ->sql ['online ' ])) {
7575 return null ;
7676 }
7777 return ' ONLINE ' ;
@@ -88,7 +88,7 @@ public function ignore() : static
8888
8989 protected function renderIgnore () : ?string
9090 {
91- if ( ! isset ($ this ->sql ['ignore ' ])) {
91+ if (! isset ($ this ->sql ['ignore ' ])) {
9292 return null ;
9393 }
9494 return ' IGNORE ' ;
@@ -102,7 +102,7 @@ public function ifExists() : static
102102
103103 protected function renderIfExists () : ?string
104104 {
105- if ( ! isset ($ this ->sql ['if_exists ' ])) {
105+ if (! isset ($ this ->sql ['if_exists ' ])) {
106106 return null ;
107107 }
108108 return ' IF EXISTS ' ;
@@ -140,7 +140,7 @@ public function wait(int $seconds) : static
140140
141141 protected function renderWait () : ?string
142142 {
143- if ( ! isset ($ this ->sql ['wait ' ])) {
143+ if (! isset ($ this ->sql ['wait ' ])) {
144144 return null ;
145145 }
146146 if ($ this ->sql ['wait ' ] < 0 ) {
@@ -159,7 +159,7 @@ public function noWait() : static
159159
160160 protected function renderNoWait () : ?string
161161 {
162- if ( ! isset ($ this ->sql ['no_wait ' ])) {
162+ if (! isset ($ this ->sql ['no_wait ' ])) {
163163 return null ;
164164 }
165165 if (isset ($ this ->sql ['wait ' ])) {
@@ -199,7 +199,7 @@ public function addIfNotExists(callable $definition) : static
199199
200200 protected function renderAdd () : ?string
201201 {
202- if ( ! isset ($ this ->sql ['add ' ])) {
202+ if (! isset ($ this ->sql ['add ' ])) {
203203 return null ;
204204 }
205205 $ parts = [];
@@ -243,7 +243,7 @@ public function changeIfExists(callable $definition) : static
243243
244244 protected function renderChange () : ?string
245245 {
246- if ( ! isset ($ this ->sql ['change ' ])) {
246+ if (! isset ($ this ->sql ['change ' ])) {
247247 return null ;
248248 }
249249 $ parts = [];
@@ -287,7 +287,7 @@ public function modifyIfExists(callable $definition) : static
287287
288288 protected function renderModify () : ?string
289289 {
290- if ( ! isset ($ this ->sql ['modify ' ])) {
290+ if (! isset ($ this ->sql ['modify ' ])) {
291291 return null ;
292292 }
293293 $ parts = [];
@@ -319,7 +319,7 @@ public function dropColumnIfExists(string $name) : static
319319
320320 protected function renderDropColumns () : ?string
321321 {
322- if ( ! isset ($ this ->sql ['drop_columns ' ])) {
322+ if (! isset ($ this ->sql ['drop_columns ' ])) {
323323 return null ;
324324 }
325325 $ drops = [];
@@ -339,7 +339,7 @@ public function dropPrimaryKey() : static
339339
340340 protected function renderDropPrimaryKey () : ?string
341341 {
342- if ( ! isset ($ this ->sql ['drop_primary_key ' ])) {
342+ if (! isset ($ this ->sql ['drop_primary_key ' ])) {
343343 return null ;
344344 }
345345 return ' DROP PRIMARY KEY ' ;
@@ -359,7 +359,7 @@ public function dropKeyIfExists(string $name) : static
359359
360360 protected function renderDropKeys () : ?string
361361 {
362- if ( ! isset ($ this ->sql ['drop_keys ' ])) {
362+ if (! isset ($ this ->sql ['drop_keys ' ])) {
363363 return null ;
364364 }
365365 $ drops = [];
@@ -385,7 +385,7 @@ public function dropForeignKeyIfExists(string $name) : static
385385
386386 protected function renderDropForeignKeys () : ?string
387387 {
388- if ( ! isset ($ this ->sql ['drop_foreign_keys ' ])) {
388+ if (! isset ($ this ->sql ['drop_foreign_keys ' ])) {
389389 return null ;
390390 }
391391 $ drops = [];
@@ -411,7 +411,7 @@ public function dropConstraintIfExists(string $name) : static
411411
412412 protected function renderDropConstraints () : ?string
413413 {
414- if ( ! isset ($ this ->sql ['drop_constraints ' ])) {
414+ if (! isset ($ this ->sql ['drop_constraints ' ])) {
415415 return null ;
416416 }
417417 $ drops = [];
@@ -431,7 +431,7 @@ public function disableKeys() : static
431431
432432 protected function renderDisableKeys () : ?string
433433 {
434- if ( ! isset ($ this ->sql ['disable_keys ' ])) {
434+ if (! isset ($ this ->sql ['disable_keys ' ])) {
435435 return null ;
436436 }
437437 return ' DISABLE KEYS ' ;
@@ -445,7 +445,7 @@ public function enableKeys() : static
445445
446446 protected function renderEnableKeys () : ?string
447447 {
448- if ( ! isset ($ this ->sql ['enable_keys ' ])) {
448+ if (! isset ($ this ->sql ['enable_keys ' ])) {
449449 return null ;
450450 }
451451 return ' ENABLE KEYS ' ;
@@ -459,7 +459,7 @@ public function renameTo(string $newTableName) : static
459459
460460 protected function renderRenameTo () : ?string
461461 {
462- if ( ! isset ($ this ->sql ['rename_to ' ])) {
462+ if (! isset ($ this ->sql ['rename_to ' ])) {
463463 return null ;
464464 }
465465 return ' RENAME TO ' . $ this ->database ->protectIdentifier ($ this ->sql ['rename_to ' ]);
@@ -475,7 +475,7 @@ public function orderBy(string $column, string ...$columns) : static
475475
476476 protected function renderOrderBy () : ?string
477477 {
478- if ( ! isset ($ this ->sql ['order_by ' ])) {
478+ if (! isset ($ this ->sql ['order_by ' ])) {
479479 return null ;
480480 }
481481 $ columns = [];
@@ -493,7 +493,7 @@ public function renameColumn(string $name, string $newName) : static
493493
494494 protected function renderRenameColumns () : ?string
495495 {
496- if ( ! isset ($ this ->sql ['rename_columns ' ])) {
496+ if (! isset ($ this ->sql ['rename_columns ' ])) {
497497 return null ;
498498 }
499499 $ renames = [];
@@ -513,7 +513,7 @@ public function renameKey(string $name, string $newName) : static
513513
514514 protected function renderRenameKeys () : ?string
515515 {
516- if ( ! isset ($ this ->sql ['rename_keys ' ])) {
516+ if (! isset ($ this ->sql ['rename_keys ' ])) {
517517 return null ;
518518 }
519519 $ renames = [];
@@ -536,7 +536,7 @@ public function convertToCharset(string $charset, string $collation = null) : st
536536
537537 protected function renderConvertToCharset () : ?string
538538 {
539- if ( ! isset ($ this ->sql ['convert_to_charset ' ])) {
539+ if (! isset ($ this ->sql ['convert_to_charset ' ])) {
540540 return null ;
541541 }
542542 $ charset = $ this ->database ->quote ($ this ->sql ['convert_to_charset ' ]['charset ' ]);
@@ -555,7 +555,7 @@ public function charset(?string $charset) : static
555555
556556 protected function renderCharset () : ?string
557557 {
558- if ( ! isset ($ this ->sql ['charset ' ])) {
558+ if (! isset ($ this ->sql ['charset ' ])) {
559559 return null ;
560560 }
561561 $ charset = \strtolower ($ this ->sql ['charset ' ]);
@@ -573,7 +573,7 @@ public function collate(?string $collation) : static
573573
574574 protected function renderCollate () : ?string
575575 {
576- if ( ! isset ($ this ->sql ['collate ' ])) {
576+ if (! isset ($ this ->sql ['collate ' ])) {
577577 return null ;
578578 }
579579 $ collate = \strtolower ($ this ->sql ['collate ' ]);
@@ -602,11 +602,11 @@ public function lock(string $type) : static
602602
603603 protected function renderLock () : ?string
604604 {
605- if ( ! isset ($ this ->sql ['lock ' ])) {
605+ if (! isset ($ this ->sql ['lock ' ])) {
606606 return null ;
607607 }
608608 $ lock = \strtoupper ($ this ->sql ['lock ' ]);
609- if ( ! \in_array ($ lock , [
609+ if (! \in_array ($ lock , [
610610 static ::LOCK_DEFAULT ,
611611 static ::LOCK_EXCLUSIVE ,
612612 static ::LOCK_NONE ,
@@ -625,7 +625,7 @@ public function force() : static
625625
626626 protected function renderForce () : ?string
627627 {
628- if ( ! isset ($ this ->sql ['force ' ])) {
628+ if (! isset ($ this ->sql ['force ' ])) {
629629 return null ;
630630 }
631631 return ' FORCE ' ;
@@ -651,11 +651,11 @@ public function algorithm(string $algo) : static
651651
652652 protected function renderAlgorithm () : ?string
653653 {
654- if ( ! isset ($ this ->sql ['algorithm ' ])) {
654+ if (! isset ($ this ->sql ['algorithm ' ])) {
655655 return null ;
656656 }
657657 $ algo = \strtoupper ($ this ->sql ['algorithm ' ]);
658- if ( ! \in_array ($ algo , [
658+ if (! \in_array ($ algo , [
659659 static ::ALGO_COPY ,
660660 static ::ALGO_DEFAULT ,
661661 static ::ALGO_INPLACE ,
0 commit comments