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