Automated formatting changes (NO_CI)

This commit is contained in:
Formatter Bot 2023-09-24 18:32:30 +00:00
parent a08cb431e2
commit cdd436e4c6
4 changed files with 4 additions and 6 deletions

View File

@ -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?

View File

@ -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?

View File

@ -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'],
];
/**

View File

@ -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(