aboutsummaryrefslogtreecommitdiff
path: root/lib/models/LikertScale.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2023-05-08 17:08:52 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2023-05-08 17:08:52 +0200
commita1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch)
tree2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/LikertScale.php
parent244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff)
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/LikertScale.php')
-rw-r--r--lib/models/LikertScale.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/models/LikertScale.php b/lib/models/LikertScale.php
index 5e55e3c..df385f7 100644
--- a/lib/models/LikertScale.php
+++ b/lib/models/LikertScale.php
@@ -1,9 +1,10 @@
<?php
+
require_once 'lib/classes/QuestionType.interface.php';
class LikertScale extends QuestionnaireQuestion implements QuestionType
{
- public static function getIcon(bool $active = false) : Icon
+ public static function getIcon(bool $active = false): Icon
{
return Icon::create(static::getIconShape(), $active ? 'clickable' : 'info');
}
@@ -22,7 +23,7 @@ class LikertScale extends QuestionnaireQuestion implements QuestionType
return _('Likert-Skala');
}
- static public function getEditingComponent()
+ public static function getEditingComponent()
{
return ['likert-edit', ''];
}