Task: Misc adjustments

This commit is contained in:
Björn Fromme
2023-10-25 15:22:38 +02:00
parent 3e540e215d
commit 011f1faf0f
20 changed files with 125 additions and 57 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
namespace App\Event;
use App\Entity\Application;
use App\Model\ApplicationCheckDto;
use App\Model\ApplicationStatusDto;
use Symfony\Contracts\EventDispatcher\Event;
class ApplicationStatusEvent extends Event
@@ -13,7 +13,7 @@ class ApplicationStatusEvent extends Event
private Application $application;
private ?string $comment;
public function __construct(ApplicationCheckDto $applicationCheckDto)
public function __construct(ApplicationStatusDto $applicationCheckDto)
{
$this->application = $applicationCheckDto->getApplication();
$this->comment = $applicationCheckDto->getComment();