|
@@ -366,14 +366,14 @@ |
|
|
block discarded – undo |
|
366
|
366
|
|
|
367
|
367
|
MiscService::mustContains($arr, ['name', 'user_id', 'site', 'type', 'path']); |
|
368
|
368
|
|
|
369
|
|
- $this->setId((int) MiscService::get($arr, 'id')) |
|
|
369
|
+ $this->setId((int)MiscService::get($arr, 'id')) |
|
370
|
370
|
->setName($arr['name']) |
|
371
|
371
|
->setUserId($arr['user_id']) |
|
372
|
372
|
->setSite($arr['site']) |
|
373
|
373
|
->setType($arr['type']) |
|
374
|
374
|
->setOptions(MiscService::get($arr, 'options')) |
|
375
|
375
|
->setPath($arr['path']) |
|
376
|
|
- ->setCreation((int) MiscService::get($arr, 'creation')); |
|
|
376
|
+ ->setCreation((int)MiscService::get($arr, 'creation')); |
|
377
|
377
|
|
|
378
|
378
|
return true; |
|
379
|
379
|
} |
Please login to merge, or discard this patch.