mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-01 22:28:42 +00:00
php cs and stan fixes
This commit is contained in:
parent
4a11ffe120
commit
2c4fa26fe5
|
|
@ -528,8 +528,7 @@ final class ApiController extends Controller
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->updateModel($request->getHeader()->getAccount(), $old, $account, function() use($account) : void {
|
$this->updateModel($request->getHeader()->getAccount(), $old, $account, function() use($account) : void {
|
||||||
$t = $this->app->appSettings->get(null, Settings::LOGIN_TRIES);
|
$account->setLoginTries((int) $this->app->appSettings->get(null, (string) Settings::LOGIN_TRIES));
|
||||||
$account->setLoginTries((int) $this->app->appSettings->get(null, Settings::LOGIN_TRIES));
|
|
||||||
AccountMapper::update($account);
|
AccountMapper::update($account);
|
||||||
}, 'account');
|
}, 'account');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,13 @@ use phpOMS\Views\View;
|
||||||
*/
|
*/
|
||||||
class GroupTagSelectorPopupView extends View
|
class GroupTagSelectorPopupView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
/**
|
||||||
|
* Dom id
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private string $id = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,21 @@ use phpOMS\Views\View;
|
||||||
*/
|
*/
|
||||||
class GroupTagSelectorView extends View
|
class GroupTagSelectorView extends View
|
||||||
{
|
{
|
||||||
private $id = '';
|
/**
|
||||||
private $isRequired = false;
|
* Dom id
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private string $id = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Is required?
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private bool $isRequired = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user