From 3c7ac81c56edf410712ea5500cce8b5514a71e6d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 12 Sep 2019 19:48:00 +0200 Subject: [PATCH] fix phpcs findings --- Admin/Install/Navigation.php | 20 ++--- Admin/Installer.php | 18 ++-- Admin/Status.php | 18 ++-- Admin/Uninstaller.php | 18 ++-- Admin/Updater.php | 18 ++-- Controller/BackendController.php | 26 +++--- Controller/Controller.php | 30 +++---- Models/AcceptStatus.php | 18 ++-- Models/AvailableStatus.php | 18 ++-- Models/Calendar.php | 60 ++++++------- Models/CalendarMapper.php | 30 +++---- Models/Event.php | 80 ++++++++--------- Models/EventMapper.php | 28 +++--- Models/EventStatus.php | 18 ++-- Models/EventTemplate.php | 20 ++--- Models/EventType.php | 18 ++-- Models/FrequencyInterval.php | 18 ++-- Models/FrequencyRelative.php | 18 ++-- Models/FrequencyType.php | 18 ++-- Models/IntervalType.php | 18 ++-- Models/NullCalendar.php | 18 ++-- Models/NullEvent.php | 18 ++-- Models/NullSchedule.php | 18 ++-- Models/PermissionState.php | 18 ++-- Models/Schedule.php | 88 +++++++++---------- Models/ScheduleMapper.php | 26 +++--- Models/ScheduleStatus.php | 18 ++-- .../Backend/Components/Calendar/BaseView.php | 18 ++-- Theme/Backend/Components/Event/BaseView.php | 18 ++-- Theme/Backend/Lang/Navigation.en.lang.php | 10 +-- Theme/Backend/Lang/api.en.lang.php | 10 +-- Theme/Backend/Lang/en.lang.php | 10 +-- Theme/Backend/dashboard-calendar.tpl.php | 10 +-- 33 files changed, 397 insertions(+), 393 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 8c960de..b320204 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Admin\Install - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Admin\Install + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool; /** * Navigation class. * - * @package Modules\Calendar\Admin\Install - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Admin\Install + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Navigation { @@ -34,7 +34,7 @@ class Navigation * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function install(string $path, DatabasePool $dbPool) : void { diff --git a/Admin/Installer.php b/Admin/Installer.php index 634764a..34ed656 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\InstallerAbstract; /** * Installer class. * - * @package Modules\Calendar\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Installer extends InstallerAbstract { diff --git a/Admin/Status.php b/Admin/Status.php index e503fe5..5f4ecff 100644 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\StatusAbstract; /** * Navigation class. * - * @package Modules\Calendar\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Status extends StatusAbstract { diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index a5bf8a2..39feae6 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\UninstallerAbstract; /** * Uninstaller class. * - * @package Modules\Calendar\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Uninstaller extends UninstallerAbstract { diff --git a/Admin/Updater.php b/Admin/Updater.php index 421f4dd..e243500 100644 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\UpdaterAbstract; /** * Updater class. * - * @package Modules\Calendar\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Updater extends UpdaterAbstract { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index d12c6ac..7429252 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,21 +26,23 @@ use phpOMS\Views\View; /** * Calendar controller class. * - * @package Modules\Calendar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class BackendController extends Controller { /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewCalendarDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -65,13 +67,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface diff --git a/Controller/Controller.php b/Controller/Controller.php index 86e0b0a..d0fcf96 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Module\WebInterface; /** * Calendar controller class. * - * @package Modules\Calendar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Controller extends ModuleAbstract implements WebInterface { @@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Calendar'; @@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1000900000; @@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -71,7 +71,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; diff --git a/Models/AcceptStatus.php b/Models/AcceptStatus.php index 0cb28aa..55a4939 100644 --- a/Models/AcceptStatus.php +++ b/Models/AcceptStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Accept status enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AcceptStatus extends Enum { diff --git a/Models/AvailableStatus.php b/Models/AvailableStatus.php index d89e348..4765289 100644 --- a/Models/AvailableStatus.php +++ b/Models/AvailableStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Available status enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AvailableStatus extends Enum { diff --git a/Models/Calendar.php b/Models/Calendar.php index 16fd49c..4221c54 100644 --- a/Models/Calendar.php +++ b/Models/Calendar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\SmartDateTime; /** * Calendar class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Calendar { @@ -30,7 +30,7 @@ class Calendar /** * Calendar ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -38,7 +38,7 @@ class Calendar /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -46,7 +46,7 @@ class Calendar /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -54,7 +54,7 @@ class Calendar /** * Created at. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $createdAt = null; @@ -62,7 +62,7 @@ class Calendar /** * Current date of the calendar. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $date = null; @@ -70,7 +70,7 @@ class Calendar /** * Events. * - * @var array + * @var array * @since 1.0.0 */ private $events = []; @@ -78,7 +78,7 @@ class Calendar /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -89,7 +89,7 @@ class Calendar /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -99,7 +99,7 @@ class Calendar /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -109,7 +109,7 @@ class Calendar /** * @param string $name Calendar name/title * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name) : void { @@ -119,7 +119,7 @@ class Calendar /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -131,7 +131,7 @@ class Calendar * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $desc) : void { @@ -143,7 +143,7 @@ class Calendar * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function addEvent(Event $event) : int { @@ -159,7 +159,7 @@ class Calendar /** * @return Event[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getEvents() : array { @@ -171,7 +171,7 @@ class Calendar * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeEvent(int $id) : bool { @@ -189,7 +189,7 @@ class Calendar * * @return Event * - * @since 1.0.0 + * @since 1.0.0 */ public function getEvent(int $id) : Event { @@ -199,7 +199,7 @@ class Calendar /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime { @@ -211,7 +211,7 @@ class Calendar * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getDate() : \DateTime { @@ -223,7 +223,7 @@ class Calendar * * @param \DateTime $date Current date * - * @since 1.0.0 + * @since 1.0.0 */ public function setDate(\DateTime $date) : void { @@ -237,7 +237,7 @@ class Calendar * * @return Event[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getEventByDate(\DateTime $date) : array { @@ -258,7 +258,7 @@ class Calendar * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function hasEventOnDate(\DateTime $date) : bool { diff --git a/Models/CalendarMapper.php b/Models/CalendarMapper.php index 5e471ac..08dbd6d 100644 --- a/Models/CalendarMapper.php +++ b/Models/CalendarMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org * @todo only load events of 3 month or 1 year?! */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class CalendarMapper extends DataMapperAbstract { /** * Class name. * - * @var string + * @var string * @since 1.0.0 */ protected static $CLASS = __CLASS__; @@ -38,7 +38,7 @@ final class CalendarMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -51,7 +51,7 @@ final class CalendarMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -66,7 +66,7 @@ final class CalendarMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'calendar'; @@ -74,7 +74,7 @@ final class CalendarMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'calendar_created_at'; @@ -82,7 +82,7 @@ final class CalendarMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'calendar_id'; diff --git a/Models/Event.php b/Models/Event.php index b9d730a..2429772 100644 --- a/Models/Event.php +++ b/Models/Event.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Location; /** * Event class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Event { @@ -32,7 +32,7 @@ class Event /** * Calendar ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -40,7 +40,7 @@ class Event /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -48,7 +48,7 @@ class Event /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -56,7 +56,7 @@ class Event /** * Created. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $createdAt = null; @@ -64,7 +64,7 @@ class Event /** * Creator. * - * @var int + * @var int * @since 1.0.0 */ private $createdBy = 0; @@ -74,7 +74,7 @@ class Event * * Single event or a template (templates have a repeating) * - * @var int + * @var int * @since 1.0.0 */ private int $type = EventType::SINGLE; @@ -84,7 +84,7 @@ class Event * * Active, inactive etc. * - * @var int + * @var int * @since 1.0.0 */ private int $status = EventStatus::ACTIVE; @@ -92,7 +92,7 @@ class Event /** * Schedule * - * @var null|int|Schedule + * @var null|int|Schedule * @since 1.0.0 */ private $schedule = null; @@ -100,7 +100,7 @@ class Event /** * Location of the event. * - * @var Location + * @var Location * @since 1.0.0 */ private ?Location $location = null; @@ -108,7 +108,7 @@ class Event /** * Calendar * - * @var int + * @var int * @since 1.0.0 */ private $calendar = null; @@ -116,7 +116,7 @@ class Event /** * People. * - * @var array + * @var array * @since 1.0.0 */ private array $people = []; @@ -124,7 +124,7 @@ class Event /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -136,7 +136,7 @@ class Event /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -146,7 +146,7 @@ class Event /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -156,7 +156,7 @@ class Event /** * @return Account[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getPeople() : array { @@ -168,7 +168,7 @@ class Event * * @return Account * - * @since 1.0.0 + * @since 1.0.0 */ public function getPerson(int $id) : Account { @@ -180,7 +180,7 @@ class Event * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addPerson(Account $person) : void { @@ -194,7 +194,7 @@ class Event * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removePerson(int $id) : bool { @@ -210,7 +210,7 @@ class Event /** * @param string $name Event name/title * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name) : void { @@ -220,7 +220,7 @@ class Event /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -230,7 +230,7 @@ class Event /** * @param string $desc Event description * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $desc) : void { @@ -240,7 +240,7 @@ class Event /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime { @@ -250,7 +250,7 @@ class Event /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedBy() : int { @@ -260,7 +260,7 @@ class Event /** * @param $createdBy Creator * - * @since 1.0.0 + * @since 1.0.0 */ public function setCreatedBy(int $createdBy) : void { @@ -271,7 +271,7 @@ class Event /** * @param Location $location Event location * - * @since 1.0.0 + * @since 1.0.0 */ public function setLocation(Location $location) : void { @@ -281,7 +281,7 @@ class Event /** * @return Location * - * @since 1.0.0 + * @since 1.0.0 */ public function getLocation() : Location { @@ -291,7 +291,7 @@ class Event /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getCalendar() : int { @@ -301,7 +301,7 @@ class Event /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -311,7 +311,7 @@ class Event /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -321,7 +321,7 @@ class Event /** * @param int $calendar Calendar * - * @since 1.0.0 + * @since 1.0.0 */ public function setCalendar(int $calendar) : void { @@ -331,7 +331,7 @@ class Event /** * @return Schedule * - * @since 1.0.0 + * @since 1.0.0 */ public function getSchedule() : Schedule { diff --git a/Models/EventMapper.php b/Models/EventMapper.php index c9cae64..4e1eaf1 100644 --- a/Models/EventMapper.php +++ b/Models/EventMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class EventMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ final class EventMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -49,7 +49,7 @@ final class EventMapper extends DataMapperAbstract /** * Has one relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $ownsOne = [ @@ -62,7 +62,7 @@ final class EventMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'calendar_event'; @@ -70,7 +70,7 @@ final class EventMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'calendar_event_created_at'; @@ -78,7 +78,7 @@ final class EventMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'calendar_event_id'; diff --git a/Models/EventStatus.php b/Models/EventStatus.php index aef5a57..68f6af9 100644 --- a/Models/EventStatus.php +++ b/Models/EventStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Event type enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class EventStatus extends Enum { diff --git a/Models/EventTemplate.php b/Models/EventTemplate.php index 4d8d380..029e3b3 100644 --- a/Models/EventTemplate.php +++ b/Models/EventTemplate.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace Modules\Calendar\Models; /** * Event template class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class EventTemplate extends Event { /** * Type. * - * @var int + * @var int * @since 1.0.0 */ private int $type = EventType::TEMPLATE; diff --git a/Models/EventType.php b/Models/EventType.php index 3d159b6..6bbf542 100644 --- a/Models/EventType.php +++ b/Models/EventType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Event type enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class EventType extends Enum { diff --git a/Models/FrequencyInterval.php b/Models/FrequencyInterval.php index 0e23d92..8012be1 100644 --- a/Models/FrequencyInterval.php +++ b/Models/FrequencyInterval.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Frequency interval type enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class FrequencyInterval extends Enum { diff --git a/Models/FrequencyRelative.php b/Models/FrequencyRelative.php index 621c3d2..160238c 100644 --- a/Models/FrequencyRelative.php +++ b/Models/FrequencyRelative.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Frequency relative type enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class FrequencyRelative extends Enum { diff --git a/Models/FrequencyType.php b/Models/FrequencyType.php index 8af2aea..823f1e0 100644 --- a/Models/FrequencyType.php +++ b/Models/FrequencyType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Frequency type enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class FrequencyType extends Enum { diff --git a/Models/IntervalType.php b/Models/IntervalType.php index 0b2db6d..da6bf34 100644 --- a/Models/IntervalType.php +++ b/Models/IntervalType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Interval type type enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class IntervalType extends Enum { diff --git a/Models/NullCalendar.php b/Models/NullCalendar.php index 9b3fefb..566b58b 100644 --- a/Models/NullCalendar.php +++ b/Models/NullCalendar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Calendar\Models; /** * Calendar class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullCalendar extends Calendar { diff --git a/Models/NullEvent.php b/Models/NullEvent.php index 6ac8659..fc4c473 100644 --- a/Models/NullEvent.php +++ b/Models/NullEvent.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Calendar\Models; /** * Null event class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullEvent extends Event { diff --git a/Models/NullSchedule.php b/Models/NullSchedule.php index 16fcafe..5ad3a7c 100644 --- a/Models/NullSchedule.php +++ b/Models/NullSchedule.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Calendar\Models; /** * Schedule class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullSchedule extends Schedule { diff --git a/Models/PermissionState.php b/Models/PermissionState.php index 9304609..c4a4c69 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Permision state enum. * - * @package Modules\Calendar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionState extends Enum { diff --git a/Models/Schedule.php b/Models/Schedule.php index 41c3182..c8a6b48 100644 --- a/Models/Schedule.php +++ b/Models/Schedule.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * Schedule class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Schedule { /** * Schedule ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -37,7 +37,7 @@ class Schedule /** * Calendar uid. * - * @var string + * @var string * @since 1.0.0 */ private string $uid = ''; @@ -45,7 +45,7 @@ class Schedule /** * Schedule status. * - * @var int + * @var int * @since 1.0.0 */ private int $status = ScheduleStatus::ACTIVE; @@ -53,7 +53,7 @@ class Schedule /** * Frequency type. * - * @var int + * @var int * @since 1.0.0 */ private int $freqType = FrequencyType::ONCE; @@ -61,7 +61,7 @@ class Schedule /** * Frequency interval. * - * @var int + * @var int * @since 1.0.0 */ private int $freqInterval = FrequencyInterval::DAY; @@ -69,7 +69,7 @@ class Schedule /** * Frequency relative. * - * @var int + * @var int * @since 1.0.0 */ private int $relativeInternal = FrequencyRelative::FIRST; @@ -77,7 +77,7 @@ class Schedule /** * Interval type. * - * @var int + * @var int * @since 1.0.0 */ private int $intervalType = IntervalType::ABSOLUTE; @@ -85,7 +85,7 @@ class Schedule /** * Recurrence factor. * - * @var int + * @var int * @since 1.0.0 */ private int $recurrenceFactor = 0; @@ -93,7 +93,7 @@ class Schedule /** * Start. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $start = null; @@ -101,7 +101,7 @@ class Schedule /** * Duration. * - * @var int + * @var int * @since 1.0.0 */ private int $duration = 3600; @@ -109,7 +109,7 @@ class Schedule /** * End. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $end = null; @@ -117,7 +117,7 @@ class Schedule /** * Created at. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $createdAt = null; @@ -125,7 +125,7 @@ class Schedule /** * Created by. * - * @var int + * @var int * @since 1.0.0 */ private $createdBy = 0; @@ -133,7 +133,7 @@ class Schedule /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -146,7 +146,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -156,7 +156,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -168,7 +168,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(int $status) { @@ -184,7 +184,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getFreqType() : int { @@ -196,7 +196,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setFreqType(int $freqType) { @@ -212,7 +212,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getIntervalType() : int { @@ -224,7 +224,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setIntervalType(int $intervalType) { @@ -240,7 +240,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getFrequencyRelative() : int { @@ -252,7 +252,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setFrequencyRelative(int $relativeInterval) { @@ -270,7 +270,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setFreqInterval(int $freqInterval) { @@ -286,7 +286,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getFreqInterval() : int { @@ -296,7 +296,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getRecurrenceFactor() : int { @@ -308,7 +308,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setRecurrenceFactor(int $recurrence) { @@ -320,7 +320,7 @@ class Schedule /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getStart() : \DateTime { @@ -332,7 +332,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setStart(\DateTime $start) { @@ -344,7 +344,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getDuration() : int { @@ -356,7 +356,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setDuration(int $duration) { @@ -372,7 +372,7 @@ class Schedule /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getEnd() : \DateTime { @@ -384,7 +384,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setEnd(\DateTime $end) { @@ -398,7 +398,7 @@ class Schedule * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public function setCreatedBy(int $creator) { @@ -410,7 +410,7 @@ class Schedule /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedBy() : int { diff --git a/Models/ScheduleMapper.php b/Models/ScheduleMapper.php index 360d8c6..42e85df 100644 --- a/Models/ScheduleMapper.php +++ b/Models/ScheduleMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ScheduleMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ final class ScheduleMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -52,7 +52,7 @@ final class ScheduleMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'schedule'; @@ -60,7 +60,7 @@ final class ScheduleMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'schedule_created_at'; @@ -68,7 +68,7 @@ final class ScheduleMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'schedule_id'; diff --git a/Models/ScheduleStatus.php b/Models/ScheduleStatus.php index 7d457d8..68b5a79 100644 --- a/Models/ScheduleStatus.php +++ b/Models/ScheduleStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Calendar\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Calendar\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Schedule status enum. * - * @package Modules\Calendar\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Calendar\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ScheduleStatus extends Enum { diff --git a/Theme/Backend/Components/Calendar/BaseView.php b/Theme/Backend/Components/Calendar/BaseView.php index 84f676f..e98dbd4 100644 --- a/Theme/Backend/Components/Calendar/BaseView.php +++ b/Theme/Backend/Components/Calendar/BaseView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Views\View; /** * Component view. * - * @package TBD - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package TBD + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class BaseView extends View diff --git a/Theme/Backend/Components/Event/BaseView.php b/Theme/Backend/Components/Event/BaseView.php index 1ba9396..38072fd 100644 --- a/Theme/Backend/Components/Event/BaseView.php +++ b/Theme/Backend/Components/Event/BaseView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Views\View; /** * Component view. * - * @package TBD - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package TBD + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class BaseView extends View diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index b248927..97316dc 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ return ['Navigation' => [ 'Calendar' => 'Calendar', diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php index 1afe44f..07bb1f6 100644 --- a/Theme/Backend/Lang/api.en.lang.php +++ b/Theme/Backend/Lang/api.en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ $MODLANG[1] = [ ]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index d672fe6..e1c90b6 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ return ['Calendar' => [ 'Blocks' => 'Blocks', diff --git a/Theme/Backend/dashboard-calendar.tpl.php b/Theme/Backend/dashboard-calendar.tpl.php index 68e182b..3afca0b 100644 --- a/Theme/Backend/dashboard-calendar.tpl.php +++ b/Theme/Backend/dashboard-calendar.tpl.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ ?>