cleanup and tests added for ci/cd

This commit is contained in:
Dennis Eichhorn 2019-11-20 22:28:04 +01:00
parent f7ac409a42
commit cda7f3d689
2 changed files with 16 additions and 1 deletions

View File

@ -258,7 +258,11 @@ class Event
} }
/** /**
* @param $createdBy Creator * Set creator
*
* @param int $createdBy Creator
*
* @return void
* *
* @since 1.0.0 * @since 1.0.0
*/ */
@ -269,8 +273,12 @@ class Event
} }
/** /**
* Set location
*
* @param Location $location Event location * @param Location $location Event location
* *
* @return void
*
* @since 1.0.0 * @since 1.0.0
*/ */
public function setLocation(Location $location) : void public function setLocation(Location $location) : void

View File

@ -41,6 +41,13 @@ class BaseView extends View
$this->setTemplate('/Modules/Calendar/Theme/Backend/Components/Event/popup'); $this->setTemplate('/Modules/Calendar/Theme/Backend/Components/Event/popup');
} }
/**
* Get event view id
*
* @return string
*
* @since 1.0.0
*/
public function getId() : string public function getId() : string
{ {
return $this->id; return $this->id;