格式测试文件代码

This commit is contained in:
oldrind
2016-03-04 22:15:25 +08:00
parent 5bac45f59b
commit 3bb03dfee3
2 changed files with 17 additions and 14 deletions

View File

@@ -1682,7 +1682,7 @@ class Model
} else {
$this->_join($join, $condition); // 兼容原来的join写法
}
} elseif (in_array(strtoupper($condition), array('INNER', 'LEFT', 'RIGHT', 'ALL'))) {
} elseif (in_array(strtoupper($condition), ['INNER', 'LEFT', 'RIGHT', 'ALL'])) {
$this->_join($join, $condition); // 兼容原来的join写法
} else {
$prefix = $this->tablePrefix;