mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-16 14:48:40 +00:00
cleanup and tests added for ci/cd
This commit is contained in:
parent
85c6ec19cf
commit
82e0742cea
|
|
@ -45,10 +45,6 @@ use phpOMS\Views\View;
|
|||
* Helper controller class.
|
||||
*
|
||||
* @package Modules\Helper
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.
|
||||
* @link http://orange-managementcom
|
||||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -36,10 +36,6 @@ use phpOMS\Views\View;
|
|||
* Helper controller class.
|
||||
*
|
||||
* @package Modules\Helper
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.
|
||||
* @link http://orange-managementcom
|
||||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -25,10 +25,6 @@ use phpOMS\Module\WebInterface;
|
|||
* Helper controller class.
|
||||
*
|
||||
* @package Modules\Helper
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.
|
||||
* @link http://orange-managementcom
|
||||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
|
|
|
|||
|
|
@ -141,6 +141,13 @@ class Template implements \JsonSerializable
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get newest report for template.
|
||||
*
|
||||
* @return Report
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getNewestReport() : Report
|
||||
{
|
||||
if (!empty($this->reports)) {
|
||||
|
|
@ -370,6 +377,9 @@ class Template implements \JsonSerializable
|
|||
return $this->isStandalone;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function toArray() : array
|
||||
{
|
||||
return [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user