diff --git a/system/Database/Forge.php b/system/Database/Forge.php index e33ad79a0f6b..19fda766d1e4 100644 --- a/system/Database/Forge.php +++ b/system/Database/Forge.php @@ -1216,7 +1216,7 @@ protected function _processIndexes($table) protected function _processForeignKeys($table) { $sql = ''; - $allowActions = array('CASCADE','SET NULL','NO ACTION','RESTRICT','SET DEFAULT'); + $allowActions = ['CASCADE','SET NULL','NO ACTION','RESTRICT','SET DEFAULT']; if (count($this->foreignKeys) > 0){ foreach ($this->foreignKeys as $field => $fkey) {