Commit 89af2adf authored by Jacob Priddy's avatar Jacob Priddy 👌

fix code styles

parent af8c6b14
Pipeline #12525 passed with stages
in 2 minutes and 35 seconds
......@@ -18,11 +18,11 @@ use Source\UseCases\DoorUser\UserDoorAccess\UsersWebPresenter;
use Source\UseCases\Doors\CreateDoor\WebTokenGeneratePresenter;
use Source\UseCases\DoorGroup\GetDoorGroups\GetDoorGroupsUseCase;
use Source\UseCases\DoorUser\UserDoorAccess\UserDoorAccessUseCase;
use Source\UseCases\Doors\GetDoor\APIPresenter as GetDoorPresenter;
use Source\UseCases\DoorGroup\AddDoorToGroup\AddDoorToGroupUseCase;
use Source\UseCases\Doors\GetDoor\APIPresenter as GetDoorPresenter;
use Source\UseCases\Doors\GenerateDoorToken\GenerateDoorTokenUseCase;
use Source\UseCases\Doors\GetDoors\WebPresenter as GetDoorsPresenter;
use Source\UseCases\Groups\GetGroups\WebPresenter as GroupsPresenter;
use Source\UseCases\Doors\GenerateDoorToken\GenerateDoorTokenUseCase;
use Source\UseCases\Doors\CreateDoor\WebPresenter as CreateDoorPresenter;
use Source\UseCases\Doors\DeleteDoor\APIPresenter as DeleteDoorPresenter;
use Source\UseCases\Doors\UpdateDoor\APIPresenter as UpdateDoorPresenter;
......
......@@ -3,9 +3,6 @@
namespace Source\UseCases\DoorUser\UserDoorAccess;
use Source\Entities\Door;
use Source\Entities\Group;
use Source\Entities\Schedule;
use Source\Sanitize\Paginates;
use Source\UseCases\BasePresenter;
......@@ -20,7 +17,6 @@ class UsersWebPresenter extends BasePresenter implements Presenter
*/
public function present(ResponseModel $responseModel): void
{
foreach ($responseModel->getGroups() as $group) {
foreach ($responseModel->getUsersForGroup($group) as $user) {
$this->viewModel[] = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment