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/QuestionBox.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/QuestionBox.php')
| -rw-r--r-- | lib/classes/QuestionBox.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/QuestionBox.php b/lib/classes/QuestionBox.php index d4d33be..8c335b1 100644 --- a/lib/classes/QuestionBox.php +++ b/lib/classes/QuestionBox.php @@ -60,7 +60,7 @@ class QuestionBox implements LayoutMessage * * @param string $question The question that should be confirmed */ - protected function __construct($question, $accept_url, $decline_url) + final protected function __construct($question, $accept_url, $decline_url) { $this->question = $question; $this->setAcceptURL($accept_url); |
