Automated formatting changes (NO_CI)

This commit is contained in:
Formatter Bot 2023-09-25 14:28:33 +00:00
parent a3695449b1
commit 1ad1532034
3 changed files with 2 additions and 5 deletions

View File

@ -447,7 +447,6 @@ final class ApiAttributeController extends Controller
*/
public function apiContractAttributeValueDelete(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

@ -74,7 +74,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(
@ -90,7 +90,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$this->app->accountManager->add($account);
$this->app->router = new WebRouter();
$this->module = $this->app->moduleManager->get('ContractManagement', 'Api');
$this->module = $this->app->moduleManager->get('ContractManagement', 'Api');
$this->attrModule = $this->app->moduleManager->get('ContractManagement', 'ApiAttribute');
$this->typeModule = $this->app->moduleManager->get('ContractManagement', 'ApiContractType');

View File

@ -15,8 +15,6 @@ declare(strict_types=1);
namespace Modules\ContractManagement\tests\Models;
use Modules\ContractManagement\Models\Contract;
use Modules\ContractManagement\Models\ContractType;
use Modules\Media\Models\Media;
/**
* @internal