mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正几处因为函数重载时参数与父类参数不同而出现的warn
This commit is contained in:
@@ -61,7 +61,7 @@ class Mongo extends Driver
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public function connect($config = '', $linkNum = 0)
|
||||
public function connect($config = '', $linkNum = 0, $autoConnection = false)
|
||||
{
|
||||
if (!isset($this->linkID[$linkNum])) {
|
||||
if (empty($config)) {
|
||||
@@ -249,7 +249,7 @@ class Mongo extends Driver
|
||||
* @return bool
|
||||
* @throws Exception
|
||||
*/
|
||||
public function insertAll($dataList, $options = [])
|
||||
public function insertAll($dataList, $options = [], $replace = false)
|
||||
{
|
||||
if (isset($options['table'])) {
|
||||
$this->switchCollection($options['table']);
|
||||
|
||||
Reference in New Issue
Block a user