aboutsummaryrefslogtreecommitdiff
path: root/lib/models/LikertScale.php
diff options
context:
space:
mode:
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', ''];
}