mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-17 04:48:40 +00:00
fix tests
This commit is contained in:
parent
96e0ea1f43
commit
f905824dda
|
|
@ -1 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Karaka
|
||||||
|
*
|
||||||
|
* PHP Version 8.1
|
||||||
|
*
|
||||||
|
* @package Modules\Admin
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://karaka.app
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
$exporter = null;
|
||||||
|
|
@ -1 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Karaka
|
||||||
|
*
|
||||||
|
* PHP Version 8.1
|
||||||
|
*
|
||||||
|
* @package Modules\Admin
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://karaka.app
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
$exporter = null;
|
||||||
|
|
@ -1 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Karaka
|
||||||
|
*
|
||||||
|
* PHP Version 8.1
|
||||||
|
*
|
||||||
|
* @package Modules\Admin
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://karaka.app
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
$exporter = null;
|
||||||
|
|
|
||||||
|
|
@ -1 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Karaka
|
||||||
|
*
|
||||||
|
* PHP Version 8.1
|
||||||
|
*
|
||||||
|
* @package Modules\Admin
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://karaka.app
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
$exporter = null;
|
||||||
|
|
@ -1 +1,15 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Karaka
|
||||||
|
*
|
||||||
|
* PHP Version 8.1
|
||||||
|
*
|
||||||
|
* @package Modules\Admin
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://karaka.app
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
$exporter = null;
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Router\RouteVerb;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1194,6 +1194,7 @@ final class ApiController extends Controller
|
||||||
* Method to update an account from a request
|
* Method to update an account from a request
|
||||||
*
|
*
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
|
* @param Account $account Account
|
||||||
* @param bool $allowPassword Allow to change password
|
* @param bool $allowPassword Allow to change password
|
||||||
*
|
*
|
||||||
* @return Account
|
* @return Account
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,15 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
*/
|
*/
|
||||||
final class PermissionAbstractMapper extends DataMapperFactory
|
final class PermissionAbstractMapper extends DataMapperFactory
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Create a permission query
|
||||||
|
*
|
||||||
|
* @param ConnectionAbstract $connection Connection
|
||||||
|
*
|
||||||
|
* @return PermissionQueryBuilder
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public static function helper(ConnectionAbstract $connection) : PermissionQueryBuilder
|
public static function helper(ConnectionAbstract $connection) : PermissionQueryBuilder
|
||||||
{
|
{
|
||||||
return new PermissionQueryBuilder($connection);
|
return new PermissionQueryBuilder($connection);
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
}
|
}
|
||||||
]'>
|
]'>
|
||||||
<datalist id="<?= $this->getId(); ?>-datalist"></datalist>
|
<datalist id="<?= $this->getId(); ?>-datalist"></datalist>
|
||||||
<input type="hidden" id="<?= $this->getId(); ?>-idlist"<?= $this->isRequired() ? ' required' : ''; ?>>
|
<input name="datalist-list" type="hidden" id="<?= $this->getId(); ?>-idlist"<?= $this->isRequired() ? ' required' : ''; ?>>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="ipt-second"><button><?= $this->getHtml('Add', '0', '0'); ?></button></div>
|
<div class="ipt-second"><button><?= $this->getHtml('Add', '0', '0'); ?></button></div>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// Modules/tests
|
// Modules/tests
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user