mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-11 16:18:40 +00:00
Automated formatting changes (NO_CI)
This commit is contained in:
parent
a08cb431e2
commit
cdd436e4c6
|
|
@ -447,7 +447,6 @@ final class ApiAddressAttributeController extends Controller
|
|||
*/
|
||||
public function apiAddressAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||
{
|
||||
return;
|
||||
// @todo: I don't think values can be deleted? Only Attributes
|
||||
// However, It should be possible to remove UNUSED default values
|
||||
// either here or other function?
|
||||
|
|
|
|||
|
|
@ -447,7 +447,6 @@ final class ApiAttributeController extends Controller
|
|||
*/
|
||||
public function apiUnitAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||
{
|
||||
return;
|
||||
// @todo: I don't think values can be deleted? Only Attributes
|
||||
// However, It should be possible to remove UNUSED default values
|
||||
// either here or other function?
|
||||
|
|
|
|||
|
|
@ -37,10 +37,10 @@ final class AddressAttributeMapper extends DataMapperFactory
|
|||
* @since 1.0.0
|
||||
*/
|
||||
public const COLUMNS = [
|
||||
'address_attr_id' => ['name' => 'address_attr_id', 'type' => 'int', 'internal' => 'id'],
|
||||
'address_attr_id' => ['name' => 'address_attr_id', 'type' => 'int', 'internal' => 'id'],
|
||||
'address_attr_address' => ['name' => 'address_attr_address', 'type' => 'int', 'internal' => 'ref'],
|
||||
'address_attr_type' => ['name' => 'address_attr_type', 'type' => 'int', 'internal' => 'type'],
|
||||
'address_attr_value' => ['name' => 'address_attr_value', 'type' => 'int', 'internal' => 'value'],
|
||||
'address_attr_type' => ['name' => 'address_attr_type', 'type' => 'int', 'internal' => 'type'],
|
||||
'address_attr_value' => ['name' => 'address_attr_value', 'type' => 'int', 'internal' => 'value'],
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$account = new Account();
|
||||
TestUtils::setMember($account, 'id', 1);
|
||||
|
||||
$permission = new AccountPermission();
|
||||
$permission = new AccountPermission();
|
||||
$permission->unit = 1;
|
||||
$permission->app = 2;
|
||||
$permission->setPermission(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user