Browse Source

changed args order

develop
Robin Thoni 8 years ago
parent
commit
1660f669e3
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/Utils/DataAccess/LuDataAccess.php

+ 2
- 2
src/Utils/DataAccess/LuDataAccess.php View File

@@ -217,11 +217,11 @@ abstract class LuDataAccess implements LuDatabaseProvider {
217 217
 
218 218
     /**
219 219
      * @param $dbo LuDbo
220
-     * @param string[] $ignoreList
221 220
      * @param int $id
221
+     * @param string[] $ignoreList
222 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 226
         $json = static::prepareDbo($dbo, $ignoreList);
227 227
         if (is_null($id)) {

Loading…
Cancel
Save