Skip to content

Commit 309245e

Browse files
authored
Merge pull request #1223 from samsonasik/short-array-syntax
use short array syntax
2 parents 71c61e2 + ad9f21a commit 309245e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/Forge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ protected function _processIndexes($table)
12161216
protected function _processForeignKeys($table) {
12171217
$sql = '';
12181218

1219-
$allowActions = array('CASCADE','SET NULL','NO ACTION','RESTRICT','SET DEFAULT');
1219+
$allowActions = ['CASCADE','SET NULL','NO ACTION','RESTRICT','SET DEFAULT'];
12201220

12211221
if (count($this->foreignKeys) > 0){
12221222
foreach ($this->foreignKeys as $field => $fkey) {

0 commit comments

Comments
 (0)