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
 
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)) {

Loading…
Cancel
Save