Skip to content

Commit

Permalink
php 8 adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho committed Nov 15, 2024
1 parent 49ad777 commit 77a8225
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/Util/BackendUiUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,13 @@

class BackendUiUtil
{
private RoutingUtil $routingUtil;
private ContaoFramework $framework;
private HtmlUtil $htmlUtil;

public function __construct(
RoutingUtil $routingUtil,
ContaoFramework $framework,
HtmlUtil $htmlUtil
private readonly RoutingUtil $routingUtil,

Check failure on line 16 in src/Util/BackendUiUtil.php

View workflow job for this annotation

GitHub Actions / phpstan

Parameter $routingUtil of method HeimrichHannot\UtilsBundle\Util\BackendUiUtil::__construct() has invalid type HeimrichHannot\UtilsBundle\Util\Routing\RoutingUtil.

Check failure on line 16 in src/Util/BackendUiUtil.php

View workflow job for this annotation

GitHub Actions / phpstan

Property HeimrichHannot\UtilsBundle\Util\BackendUiUtil::$routingUtil has unknown class HeimrichHannot\UtilsBundle\Util\Routing\RoutingUtil as its type.
private readonly ContaoFramework $framework,
private readonly HtmlUtil $htmlUtil

Check failure on line 18 in src/Util/BackendUiUtil.php

View workflow job for this annotation

GitHub Actions / phpstan

Parameter $htmlUtil of method HeimrichHannot\UtilsBundle\Util\BackendUiUtil::__construct() has invalid type HeimrichHannot\UtilsBundle\Util\Html\HtmlUtil.

Check failure on line 18 in src/Util/BackendUiUtil.php

View workflow job for this annotation

GitHub Actions / phpstan

Property HeimrichHannot\UtilsBundle\Util\BackendUiUtil::$htmlUtil has unknown class HeimrichHannot\UtilsBundle\Util\Html\HtmlUtil as its type.
)
{
$this->routingUtil = $routingUtil;
$this->framework = $framework;
$this->htmlUtil = $htmlUtil;
}

/**
Expand Down

0 comments on commit 77a8225

Please sign in to comment.