Skip to content

Commit

Permalink
Remove duplicate function from child classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorazil committed Oct 22, 2024
1 parent deef823 commit d570307
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions app/AccountancyModule/CampModule/Components/ExportDialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ public function __construct(private array $camps, private QueryBus $queryBus)
{
}

public function handleOpen(): void
{
$this->show();
}

public function handleClose(): void
{
$this->hide();
}

protected function beforeRender(): void
{
$this->template->setFile(__DIR__ . '/templates/ExportDialog.latte');
Expand Down
5 changes: 0 additions & 5 deletions app/AccountancyModule/Components/Cashbook/PrefixControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ public function __construct(private CashbookId $cashbookId, private PaymentMetho
{
}

public function handleOpen(): void
{
$this->show();
}

public function beforeRender(): void
{
$this->template->setFile(__DIR__ . '/templates/PrefixControl.latte');
Expand Down
5 changes: 0 additions & 5 deletions app/AccountancyModule/EventModule/components/ExportDialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ public function __construct(private array $events, private QueryBus $queryBus)
{
}

public function handleOpen(): void
{
$this->show();
}

protected function beforeRender(): void
{
$this->template->setFile(__DIR__ . '/templates/ExportDialog.latte');
Expand Down

0 comments on commit d570307

Please sign in to comment.