Skip to content

Commit

Permalink
fix: fix TypeError in PermitsReportController (dvsa/olcs-internal#75
Browse files Browse the repository at this point in the history
)
  • Loading branch information
JoshuaLicense authored Feb 6, 2024
1 parent a0eb3ab commit 5fc3d4a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Common\Form\Form;
use Dvsa\Olcs\Transfer\Command\Permits\QueueReport;
use Dvsa\Olcs\Transfer\Query\Permits\ReportList;
use Laminas\Http\Response;
use Laminas\View\Model\ViewModel;
use Olcs\Controller\AbstractInternalController;
use Olcs\Controller\Interfaces\LeftViewProvider;
Expand All @@ -22,9 +23,9 @@ class PermitsReportController extends AbstractInternalController implements Left
/**
* Process action - Index
*
* @return ViewModel
* @return ViewModel|Response
*/
public function indexAction(): ViewModel
public function indexAction()
{
$form = $this->getForm(PermitsReport::class);
$this->setSelectReportList($form);
Expand Down

0 comments on commit 5fc3d4a

Please sign in to comment.