From cda7f3d6897af155a18b89daa65e4812d053e4c9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 20 Nov 2019 22:28:04 +0100 Subject: [PATCH] cleanup and tests added for ci/cd --- Models/Event.php | 10 +++++++++- Theme/Backend/Components/Event/BaseView.php | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Models/Event.php b/Models/Event.php index 2429772..604c3f6 100644 --- a/Models/Event.php +++ b/Models/Event.php @@ -258,7 +258,11 @@ class Event } /** - * @param $createdBy Creator + * Set creator + * + * @param int $createdBy Creator + * + * @return void * * @since 1.0.0 */ @@ -269,8 +273,12 @@ class Event } /** + * Set location + * * @param Location $location Event location * + * @return void + * * @since 1.0.0 */ public function setLocation(Location $location) : void diff --git a/Theme/Backend/Components/Event/BaseView.php b/Theme/Backend/Components/Event/BaseView.php index dab5cde..cb50d64 100644 --- a/Theme/Backend/Components/Event/BaseView.php +++ b/Theme/Backend/Components/Event/BaseView.php @@ -41,6 +41,13 @@ class BaseView extends View $this->setTemplate('/Modules/Calendar/Theme/Backend/Components/Event/popup'); } + /** + * Get event view id + * + * @return string + * + * @since 1.0.0 + */ public function getId() : string { return $this->id;