Skip to content
Code-Schnipsel Gruppen Projekte
Commit 557a752c erstellt von Michael Danielczok's avatar Michael Danielczok
Dateien durchsuchen

fix(phpstan): correct variable type

Related: #4
Übergeordneter eb5db4b9
No related branches found
No related tags found
1 Merge Request!4fix(phpstan): correct variable type
Pipeline #15576 bestanden mit Phase
in 1 Minute und 38 Sekunden
parameters:
ignoreErrors:
-
message: "#^Parameter \\#2 \\$val of method QUI\\\\QDOM\\:\\:setAttribute\\(\\) expects array\\|bool\\|object\\|string, int given\\.$#"
count: 1
path: src/QUI/Interview/Controls/IntervieweeData.php
......@@ -35,7 +35,7 @@ public function __construct($attributes = [])
parent::__construct($attributes);
$this->setAttribute('cacheable', 0);
$this->setAttribute('cacheable', "0");
}
/**
......@@ -43,7 +43,7 @@ public function __construct($attributes = [])
*
* @see \QUI\Control::create()
*/
public function getBody()
public function getBody(): string
{
$Engine = QUI::getTemplateManager()->getEngine();
$Site = $this->getSite();
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren