mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-18 08:28:41 +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 {
|
||||
$t = $this->app->appSettings->get(null, Settings::LOGIN_TRIES);
|
||||
$account->setLoginTries((int) $this->app->appSettings->get(null, Settings::LOGIN_TRIES));
|
||||
$account->setLoginTries((int) $this->app->appSettings->get(null, (string) Settings::LOGIN_TRIES));
|
||||
AccountMapper::update($account);
|
||||
}, 'account');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,13 @@ use phpOMS\Views\View;
|
|||
*/
|
||||
class GroupTagSelectorPopupView extends View
|
||||
{
|
||||
private $id = '';
|
||||
/**
|
||||
* Dom id
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $id = '';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
|||
|
|
@ -30,8 +30,21 @@ use phpOMS\Views\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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user