Quellcode durchsuchen

changed args order

develop
Robin Thoni vor 8 Jahren
Ursprung
Commit
1660f669e3
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      src/Utils/DataAccess/LuDataAccess.php

+ 2
- 2
src/Utils/DataAccess/LuDataAccess.php Datei anzeigen

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

Laden…
Abbrechen
Speichern