diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-11 09:52:05 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-07-11 09:52:05 +0000 |
| commit | 8f48ee027f2e4e3ed9e69a6e2910ed577196813e (patch) | |
| tree | 628c5678de84ad6d3e00df2287798fd50eb1e152 /lib/classes/Interactable.class.php | |
| parent | 2054b4c0815aa508623165d7fc0b810bafc16cc0 (diff) | |
fix errors of type 'Unsafe usage of new static', fixes #1245
Closes #1245
Merge request studip/studip!760
Diffstat (limited to 'lib/classes/Interactable.class.php')
| -rw-r--r-- | lib/classes/Interactable.class.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/classes/Interactable.class.php b/lib/classes/Interactable.class.php index b401115..6ba7c25 100644 --- a/lib/classes/Interactable.class.php +++ b/lib/classes/Interactable.class.php @@ -15,7 +15,6 @@ namespace Studip; */ abstract class Interactable { - public $label, $attributes; /** @@ -107,7 +106,7 @@ abstract class Interactable * @param string $trait the specific trait of the current element * @param array $attributes the attributes of the button element * - * @return Interactable a Interactable element + * @return Interactable element */ public static function create($label = NULL, $trait = NULL, $attributes = []) { |
