From 43c09d73ff3623ad0178d48345ad4d72a21b7bf6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 27 Apr 2019 12:05:33 +0200 Subject: [PATCH] php cs fixer --- Admin/Routes/Web/Backend.php | 2 +- Models/Answer.php | 28 ++++++----------------- Models/Question.php | 28 ++++++----------------- Models/Section.php | 20 ++++------------ Models/Survey.php | 28 ++++++----------------- Theme/Backend/Lang/Navigation.en.lang.php | 2 +- Theme/Backend/Lang/api.en.lang.php | 2 +- Theme/Backend/Lang/en.lang.php | 2 +- Theme/Backend/surveys-create.tpl.php | 2 +- Theme/Backend/surveys-list.tpl.php | 2 +- Theme/Backend/surveys-profile.tpl.php | 3 +-- 11 files changed, 33 insertions(+), 86 deletions(-) diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 0f5363c..1e8624f 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -1,4 +1,4 @@ -description = $desc; } - /** - * - */ + public function delete() : void { } - /** - * - */ + public function create() : void { } - /** - * - */ + public function update() : void { } - /** - * - */ + public function serialize() : void { } - /** - * - */ + public function unserialize($data) : void { } diff --git a/Models/Question.php b/Models/Question.php index a85ad89..e2ad9f3 100644 --- a/Models/Question.php +++ b/Models/Question.php @@ -60,16 +60,12 @@ class Question return self::$instances[$id]; } - /** - * - */ + public function init($id) : void { } - /** - * - */ + public function __clone() { } @@ -99,37 +95,27 @@ class Question $this->description = $desc; } - /** - * - */ + public function delete() : void { } - /** - * - */ + public function create() : void { } - /** - * - */ + public function update() : void { } - /** - * - */ + public function serialize() : void { } - /** - * - */ + public function unserialize($data) : void { } diff --git a/Models/Section.php b/Models/Section.php index 089a492..5837f80 100644 --- a/Models/Section.php +++ b/Models/Section.php @@ -85,37 +85,27 @@ class Section $this->description = $desc; } - /** - * - */ + public function delete() : void { } - /** - * - */ + public function create() : void { } - /** - * - */ + public function update() : void { } - /** - * - */ + public function serialize() : void { } - /** - * - */ + public function unserialize($data) : void { } diff --git a/Models/Survey.php b/Models/Survey.php index a85a360..5e1a8d9 100644 --- a/Models/Survey.php +++ b/Models/Survey.php @@ -76,16 +76,12 @@ class Survey return self::$instances[$id]; } - /** - * - */ + public function init($id) : void { } - /** - * - */ + public function __clone() { } @@ -135,37 +131,27 @@ class Survey $this->creator = $creator; } - /** - * - */ + public function delete() : void { } - /** - * - */ + public function create() : void { } - /** - * - */ + public function update() : void { } - /** - * - */ + public function serialize() : void { } - /** - * - */ + public function unserialize($data) : void { } diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 43bbdcc..f758881 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -1,4 +1,4 @@ -getData('nav')->render(); -