diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/RangeScale.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/RangeScale.php')
| -rw-r--r-- | lib/models/RangeScale.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/models/RangeScale.php b/lib/models/RangeScale.php index 3c89195..03ca96a 100644 --- a/lib/models/RangeScale.php +++ b/lib/models/RangeScale.php @@ -1,9 +1,10 @@ <?php + require_once 'lib/classes/QuestionType.interface.php'; class RangeScale 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'); } @@ -31,7 +32,7 @@ class RangeScale extends QuestionnaireQuestion implements QuestionType return $questiondata; } - static public function getEditingComponent() + public static function getEditingComponent() { return ['rangescale-edit', '']; } |
