mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-08 17:38: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.
|
* Helper controller class.
|
||||||
*
|
*
|
||||||
* @package Modules\Helper
|
* @package Modules\Helper
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.
|
|
||||||
* @link http://orange-managementcom
|
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,6 @@ use phpOMS\Views\View;
|
||||||
* Helper controller class.
|
* Helper controller class.
|
||||||
*
|
*
|
||||||
* @package Modules\Helper
|
* @package Modules\Helper
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.
|
|
||||||
* @link http://orange-managementcom
|
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,6 @@ use phpOMS\Module\WebInterface;
|
||||||
* Helper controller class.
|
* Helper controller class.
|
||||||
*
|
*
|
||||||
* @package Modules\Helper
|
* @package Modules\Helper
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.
|
|
||||||
* @link http://orange-managementcom
|
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,13 @@ class Template implements \JsonSerializable
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get newest report for template.
|
||||||
|
*
|
||||||
|
* @return Report
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public function getNewestReport() : Report
|
public function getNewestReport() : Report
|
||||||
{
|
{
|
||||||
if (!empty($this->reports)) {
|
if (!empty($this->reports)) {
|
||||||
|
|
@ -370,6 +377,9 @@ class Template implements \JsonSerializable
|
||||||
return $this->isStandalone;
|
return $this->isStandalone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function toArray() : array
|
public function toArray() : array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user