diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 48311efc2d6a9b3195b28a214d6408426bb554cd..364905f71489c1bf2c77d2bfe157d6c90f0ee4f2 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,6 +1,2 @@ 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 diff --git a/src/QUI/Interview/Controls/IntervieweeData.php b/src/QUI/Interview/Controls/IntervieweeData.php index 4cd7d995f165bdcdcee57a6e5492d4ed90234a83..d73c549b408825f6d3446eb85689e675aed73424 100644 --- a/src/QUI/Interview/Controls/IntervieweeData.php +++ b/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();