mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 13:38:39 +00:00
phpstan fixes
This commit is contained in:
parent
4cd27e388a
commit
2a1fb438ac
|
|
@ -14,6 +14,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace Modules\Admin\Admin;
|
||||
|
||||
use phpOMS\Module\UninstallerAbstract;
|
||||
|
||||
/**
|
||||
* Uninstall class.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -856,7 +856,7 @@ final class ApiController extends Controller
|
|||
|
||||
$this->createModel($request->header->account, $account, AccountMapper::class, 'account', $request->getOrigin());
|
||||
$this->createProfileForAccount($account, $request);
|
||||
$this->createMediaDirForAccount($account->getId(), $account->login, $request->header->account);
|
||||
$this->createMediaDirForAccount($account->getId(), $account->login ?? '', $request->header->account);
|
||||
|
||||
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Account', 'Account successfully created. Link: <a href="' . (UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $account->getId())) . '">Account</a>', $account);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user