Skip to content

Commit

Permalink
QA: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed May 3, 2024
1 parent 888ec1b commit 2710e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/UI/AbstractPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace App\UI;

use Contributte\Datagrid\Datagrid;
use Contributte\Nella\UI\NellaPresenter;
use Dibi\Connection;
use Nette\DI\Attributes\Inject;
use Ublaboo\DataGrid\DataGrid;

abstract class AbstractPresenter extends NellaPresenter
{
Expand All @@ -15,7 +15,7 @@ abstract class AbstractPresenter extends NellaPresenter

abstract public function createComponentGrid(): DataGrid;

public function changeStatus($id, string $newStatus): void
public function changeStatus(string $id, string $newStatus): void
{
if (in_array($newStatus, ['active', 'inactive', 'deleted'], true)) {
$data = ['status' => $newStatus];
Expand Down

0 comments on commit 2710e85

Please sign in to comment.