aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/Interactable.class.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-07-11 09:52:05 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-07-11 09:52:05 +0000
commit8f48ee027f2e4e3ed9e69a6e2910ed577196813e (patch)
tree628c5678de84ad6d3e00df2287798fd50eb1e152 /lib/classes/Interactable.class.php
parent2054b4c0815aa508623165d7fc0b810bafc16cc0 (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.php3
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 = [])
{