浏览代码

changed args order

develop
Robin Thoni 9 年前
父节点
当前提交
1660f669e3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/Utils/DataAccess/LuDataAccess.php

+ 2
- 2
src/Utils/DataAccess/LuDataAccess.php 查看文件

217
 
217
 
218
     /**
218
     /**
219
      * @param $dbo LuDbo
219
      * @param $dbo LuDbo
220
-     * @param string[] $ignoreList
221
      * @param int $id
220
      * @param int $id
221
+     * @param string[] $ignoreList
222
      * @return int
222
      * @return int
223
      */
223
      */
224
-    public static function editSingleById($dbo, $ignoreList = [], $id = null)
224
+    public static function editSingleById($dbo, $id = null, $ignoreList = [])
225
     {
225
     {
226
         $json = static::prepareDbo($dbo, $ignoreList);
226
         $json = static::prepareDbo($dbo, $ignoreList);
227
         if (is_null($id)) {
227
         if (is_null($id)) {

正在加载...
取消
保存