修正Model类的saveall方法参数

This commit is contained in:
thinkphp
2016-06-21 17:28:46 +08:00
parent a8cd946ac6
commit 7229a1d76a

View File

@@ -646,7 +646,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
* @param bool $replace 是否replace
* @return array|false
*/
public function saveAll($dataSet, $repalce = false)
public function saveAll($dataSet, $replace = false)
{
$result = [];
$db = $this->db();