From 0c2bb4d9d7aec107cb340b1ab167dc3f2e425377 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 | 22 ++--- Admin/Status.php | 18 ++-- Admin/Uninstaller.php | 18 ++-- Admin/Updater.php | 18 ++-- Controller/ApiController.php | 32 +++---- Controller/BackendController.php | 39 +++++---- Controller/Controller.php | 30 +++---- Models/Collection.php | 30 +++---- Models/CollectionMapper.php | 26 +++--- Models/FileStorageInterface.php | 10 +-- Models/FileUploaderTrait.php | 12 +-- Models/FtpFileStorage.php | 10 +-- Models/LocalFileStorage.php | 10 +-- Models/Media.php | 86 +++++++++---------- Models/MediaMapper.php | 30 +++---- Models/NullCollection.php | 18 ++-- Models/NullMedia.php | 18 ++-- Models/PermissionState.php | 18 ++-- Models/Upload.js | 16 ++-- Models/UploadFile.php | 64 +++++++------- Models/UploadStatus.php | 18 ++-- .../Components/InlinePreview/BaseView.php | 18 ++-- Theme/Backend/Components/Media/BaseView.php | 18 ++-- Theme/Backend/Components/Upload/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/media-create.tpl.php | 10 +-- Theme/Backend/media-list.tpl.php | 10 +-- Theme/Backend/media-single.tpl.php | 10 +-- Views/MediaCreateView.php | 18 ++-- Views/MediaView.php | 18 ++-- 33 files changed, 360 insertions(+), 353 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index aaed396..2056eb9 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Admin\Install - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Admin\Install - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\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 24d92e2..dcfa216 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,10 +24,10 @@ use phpOMS\System\File\PathException; /** * Installer class. * - * @package Modules\Media\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Installer extends InstallerAbstract { @@ -42,7 +42,7 @@ class Installer extends InstallerAbstract * @throws PathException This exception is thrown if the Navigation install file couldn't be found * @throws \Exception This exception is thrown if the Navigation install file is invalid json * - * @since 1.0.0 + * @since 1.0.0 */ public static function installExternal(DatabasePool $dbPool, array $data) : void { @@ -77,7 +77,7 @@ class Installer extends InstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function installMedia($dbPool, $data) : void { diff --git a/Admin/Status.php b/Admin/Status.php index db3a789..8b809fe 100644 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\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 38c21d5..9114e1d 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\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 05e1bc3..1bb0a1e 100644 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Updater extends UpdaterAbstract { diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 1e411a5..0d6cda6 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -30,10 +30,10 @@ use phpOMS\System\MimeType; /** * Media class. * - * @package Modules\Media - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ApiController extends Controller { @@ -49,7 +49,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiMediaFind(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -73,7 +73,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiMediaUpload(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -102,7 +102,7 @@ final class ApiController extends Controller * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function uploadFiles( string $name, @@ -132,7 +132,7 @@ final class ApiController extends Controller * * @return string Random path to store media files * - * @since 1.0.0 + * @since 1.0.0 */ public static function createMediaPath(string $basePath = 'Modules/Media/Files') : string { @@ -146,7 +146,7 @@ final class ApiController extends Controller * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function createDbEntries(array $status, int $account, string $virtualPath = '/') : array { @@ -221,7 +221,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiMediaUpdate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -238,7 +238,7 @@ final class ApiController extends Controller * * @return Media * - * @since 1.0.0 + * @since 1.0.0 */ private function updateMediaFromRequest(RequestAbstract $request) : Media { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index cb81b65..9b9243a 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -1,5 +1,4 @@ $Id$ + * @version 1.0.0 * @link https://orange-management.org */ declare(strict_types=1); @@ -29,10 +28,10 @@ use phpOMS\Views\View; /** * Media class. * - * @package Modules\Media - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class BackendController extends Controller { @@ -40,7 +39,7 @@ final class BackendController extends Controller /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__; @@ -48,7 +47,7 @@ final class BackendController extends Controller /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -56,7 +55,7 @@ final class BackendController extends Controller /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Media'; @@ -64,7 +63,7 @@ final class BackendController extends Controller /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1000400000; @@ -72,7 +71,7 @@ final class BackendController extends Controller /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -80,19 +79,21 @@ final class BackendController extends Controller /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public static function setUpFileUploader(RequestAbstract $request, ResponseAbstract $response, $data = null) : void @@ -103,13 +104,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 viewMediaList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -125,13 +128,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 viewMediaSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -160,13 +165,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 viewMediaCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface diff --git a/Controller/Controller.php b/Controller/Controller.php index d5c5026..512b009 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media + * @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; /** * Media class. * - * @package Modules\Media - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media + * @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 = 'Media'; @@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1000400000; @@ -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/Collection.php b/Models/Collection.php index f8ceb19..92d4385 100644 --- a/Models/Collection.php +++ b/Models/Collection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Models; /** * Media class. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Collection extends Media implements \Iterator { @@ -28,7 +28,7 @@ class Collection extends Media implements \Iterator /** * Resource id. * - * @var array + * @var array * @since 1.0.0 */ private $sources = []; @@ -36,7 +36,7 @@ class Collection extends Media implements \Iterator /** * Extension name. * - * @var string + * @var string * @since 1.0.0 */ protected string $extension = 'collection'; @@ -44,7 +44,7 @@ class Collection extends Media implements \Iterator /** * Versioned. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $versioned = false; @@ -56,7 +56,7 @@ class Collection extends Media implements \Iterator * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setSources(array $sources) : void { @@ -70,7 +70,7 @@ class Collection extends Media implements \Iterator * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addSource($source) : void { @@ -82,7 +82,7 @@ class Collection extends Media implements \Iterator * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getSources() : array { diff --git a/Models/CollectionMapper.php b/Models/CollectionMapper.php index 718500d..bd35000 100644 --- a/Models/CollectionMapper.php +++ b/Models/CollectionMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media + * @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\Media\Models; /** * Mapper class. * - * @package Modules\Media - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class CollectionMapper extends MediaMapper { /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -42,7 +42,7 @@ final class CollectionMapper extends MediaMapper /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'media'; @@ -50,7 +50,7 @@ final class CollectionMapper extends MediaMapper /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'media_created_at'; @@ -58,7 +58,7 @@ final class CollectionMapper extends MediaMapper /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'media_id'; diff --git a/Models/FileStorageInterface.php b/Models/FileStorageInterface.php index a604a38..b7d8f5b 100644 --- a/Models/FileStorageInterface.php +++ b/Models/FileStorageInterface.php @@ -4,9 +4,9 @@ * * 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 */ // TODO: implement file storage interface diff --git a/Models/FileUploaderTrait.php b/Models/FileUploaderTrait.php index 92a2baa..0dba65d 100644 --- a/Models/FileUploaderTrait.php +++ b/Models/FileUploaderTrait.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -36,7 +36,7 @@ trait FileUploaderTrait * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setUpFileUploader(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { diff --git a/Models/FtpFileStorage.php b/Models/FtpFileStorage.php index dc0f93f..d66637a 100644 --- a/Models/FtpFileStorage.php +++ b/Models/FtpFileStorage.php @@ -4,9 +4,9 @@ * * 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 */ // TODO: implement filestorage on remote ftp server diff --git a/Models/LocalFileStorage.php b/Models/LocalFileStorage.php index 91a379a..6db0ec3 100644 --- a/Models/LocalFileStorage.php +++ b/Models/LocalFileStorage.php @@ -4,9 +4,9 @@ * * 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 */ // TODO: implement local file storage diff --git a/Models/Media.php b/Models/Media.php index 93a6548..6549564 100644 --- a/Models/Media.php +++ b/Models/Media.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Models; /** * Media class. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Media implements \JsonSerializable { @@ -28,7 +28,7 @@ class Media implements \JsonSerializable /** * ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -36,7 +36,7 @@ class Media implements \JsonSerializable /** * Name. * - * @var string + * @var string * @since 1.0.0 */ protected string $name = ''; @@ -44,7 +44,7 @@ class Media implements \JsonSerializable /** * Extension. * - * @var string + * @var string * @since 1.0.0 */ protected string $extension = ''; @@ -52,7 +52,7 @@ class Media implements \JsonSerializable /** * File size in bytes. * - * @var int + * @var int * @since 1.0.0 */ protected int $size = 0; @@ -60,7 +60,7 @@ class Media implements \JsonSerializable /** * Author. * - * @var int + * @var int * @since 1.0.0 */ protected $createdBy = 0; @@ -68,7 +68,7 @@ class Media implements \JsonSerializable /** * Uploaded. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected ?\DateTime $createdAt = null; @@ -76,7 +76,7 @@ class Media implements \JsonSerializable /** * Resource path. * - * @var string + * @var string * @since 1.0.0 */ protected string $path = ''; @@ -84,7 +84,7 @@ class Media implements \JsonSerializable /** * Virtual path. * - * @var string + * @var string * @since 1.0.0 */ protected string $virtualPath = '/'; @@ -92,7 +92,7 @@ class Media implements \JsonSerializable /** * Is path absolute? * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $isAbsolute = false; @@ -100,7 +100,7 @@ class Media implements \JsonSerializable /** * Is versioned. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $versioned = false; @@ -108,7 +108,7 @@ class Media implements \JsonSerializable /** * Media Description. * - * @var string + * @var string * @since 1.0.0 */ protected string $description = ''; @@ -117,7 +117,7 @@ class Media implements \JsonSerializable /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -127,7 +127,7 @@ class Media implements \JsonSerializable /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -137,7 +137,7 @@ class Media implements \JsonSerializable /** * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isAbsolute() : bool { @@ -147,7 +147,7 @@ class Media implements \JsonSerializable /** * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAbsolute(bool $absolute) : void { @@ -157,7 +157,7 @@ class Media implements \JsonSerializable /** * @return int|\phpOMS\Account\Account * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedBy() { @@ -167,7 +167,7 @@ class Media implements \JsonSerializable /** * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime { @@ -177,7 +177,7 @@ class Media implements \JsonSerializable /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getExtension() : string { @@ -187,7 +187,7 @@ class Media implements \JsonSerializable /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPath() : string { @@ -197,7 +197,7 @@ class Media implements \JsonSerializable /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getVirtualPath() : string { @@ -207,7 +207,7 @@ class Media implements \JsonSerializable /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -217,7 +217,7 @@ class Media implements \JsonSerializable /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -227,7 +227,7 @@ class Media implements \JsonSerializable /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescriptionRaw() : string { @@ -237,7 +237,7 @@ class Media implements \JsonSerializable /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getSize() : int { @@ -247,7 +247,7 @@ class Media implements \JsonSerializable /** * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isVersioned() : bool { @@ -259,7 +259,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCreatedBy($createdBy) : void { @@ -271,7 +271,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setExtension(string $extension) : void { @@ -283,7 +283,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPath(string $path) : void { @@ -295,7 +295,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setVirtualPath(string $path) : void { @@ -307,7 +307,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name) : void { @@ -319,7 +319,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $description) : void { @@ -331,7 +331,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescriptionRaw(string $description) : void { @@ -343,7 +343,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setSize(int $size) : void { @@ -355,7 +355,7 @@ class Media implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setVersioned(bool $versioned) : void { diff --git a/Models/MediaMapper.php b/Models/MediaMapper.php index b97f7e3..407018d 100644 --- a/Models/MediaMapper.php +++ b/Models/MediaMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\Models + * @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\DataStorage\Database\DataMapperAbstract; /** * Media mapper class. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MediaMapper extends DataMapperAbstract { @@ -31,7 +31,7 @@ class MediaMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 * @todo: maybe add file name for searching by file name (path in media_file should not matter for search) */ @@ -53,7 +53,7 @@ class MediaMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -66,7 +66,7 @@ class MediaMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'media'; @@ -74,7 +74,7 @@ class MediaMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'media_created_at'; @@ -82,7 +82,7 @@ class MediaMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'media_id'; @@ -106,7 +106,7 @@ class MediaMapper extends DataMapperAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getByVirtualPath(string $virtualPath = '/') : array { diff --git a/Models/NullCollection.php b/Models/NullCollection.php index e31fb3e..bd97d2e 100644 --- a/Models/NullCollection.php +++ b/Models/NullCollection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Models; /** * Media class. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullCollection extends Collection { diff --git a/Models/NullMedia.php b/Models/NullMedia.php index 8b470ee..16eea22 100644 --- a/Models/NullMedia.php +++ b/Models/NullMedia.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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\Media\Models; /** * Media class. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullMedia extends Media { diff --git a/Models/PermissionState.php b/Models/PermissionState.php index f5c11f6..6fc06fb 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media + * @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\Media - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionState extends Enum { diff --git a/Models/Upload.js b/Models/Upload.js index 0725941..4040868 100644 --- a/Models/Upload.js +++ b/Models/Upload.js @@ -37,7 +37,7 @@ export class Upload { * * @return {void} * - * @since 1.0.0 + * @since 1.0.0 */ setMaxFileSize (size) { @@ -49,7 +49,7 @@ export class Upload { * * @return {int} Max file size * - * @since 1.0.0 + * @since 1.0.0 */ getMaxFileSize () { @@ -64,7 +64,7 @@ export class Upload { * * @return {void} * - * @since 1.0.0 + * @since 1.0.0 */ setSuccess (id, callback) { @@ -78,7 +78,7 @@ export class Upload { * * @return {void} * - * @since 1.0.0 + * @since 1.0.0 */ setUri (uri) { @@ -92,7 +92,7 @@ export class Upload { * * @return {void} * - * @since 1.0.0 + * @since 1.0.0 */ setAllowedTypes (allowed) { @@ -106,7 +106,7 @@ export class Upload { * * @return {void} * - * @since 1.0.0 + * @since 1.0.0 */ addAllowedType (allowed) { @@ -120,7 +120,7 @@ export class Upload { * * @return {void} * - * @since 1.0.0 + * @since 1.0.0 */ addFile (file) { @@ -132,7 +132,7 @@ export class Upload { * * @return {int} * - * @since 1.0.0 + * @since 1.0.0 */ count () { diff --git a/Models/UploadFile.php b/Models/UploadFile.php index fb2d18f..f4b417c 100644 --- a/Models/UploadFile.php +++ b/Models/UploadFile.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\Models + * @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\System\File\Local\Directory; /** * Upload. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class UploadFile @@ -31,7 +31,7 @@ class UploadFile /** * Limit of iterations to find a possible random path for the file to upload to. * - * @var int + * @var int * @since 1.0.0 */ private const PATH_GENERATION_LIMIT = 1000; @@ -39,7 +39,7 @@ class UploadFile /** * Image interlaced. * - * @var bool + * @var bool * @since 1.0.0 */ private bool $isInterlaced = true; @@ -47,7 +47,7 @@ class UploadFile /** * Upload max size. * - * @var int + * @var int * @since 1.0.0 */ private int $maxSize = 50000000; @@ -55,7 +55,7 @@ class UploadFile /** * Allowed mime types. * - * @var string[] + * @var string[] * @since 1.0.0 */ private $allowedTypes = []; @@ -63,7 +63,7 @@ class UploadFile /** * Output directory. * - * @var string + * @var string * @since 1.0.0 */ private string $outputDir = __DIR__ . '/../../Modules/Media/Files'; @@ -71,7 +71,7 @@ class UploadFile /** * Output file name. * - * @var string + * @var string * @since 1.0.0 */ private string $fileName = ''; @@ -79,7 +79,7 @@ class UploadFile /** * Output file name. * - * @var bool + * @var bool * @since 1.0.0 */ private bool $preserveFileName = true; @@ -95,7 +95,7 @@ class UploadFile * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function upload(array $files, string $name = '', string $encoding = 'UTF-8') : array { @@ -206,7 +206,7 @@ class UploadFile * * @throws \Exception This exception is thrown if the file couldn't be created * - * @since 1.0.0 + * @since 1.0.0 */ private function createFileName(string $path, string $tempName, string $extension) : string { @@ -241,7 +241,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function interlace(string $extension, string $path) : void { @@ -277,7 +277,7 @@ class UploadFile * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function findOutputDir(array $files) : string { @@ -295,7 +295,7 @@ class UploadFile * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private function getUploadError($error) : int { @@ -314,7 +314,7 @@ class UploadFile /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getMaxSize() : int { @@ -326,7 +326,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setInterlaced(bool $isInterlaced) : void { @@ -338,7 +338,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMaxSize(int $maxSize) : void { @@ -348,7 +348,7 @@ class UploadFile /** * @return string[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getAllowedTypes() : array { @@ -360,7 +360,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAllowedTypes(array $allowedTypes) : void { @@ -372,7 +372,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addAllowedTypes(string $allowedTypes) : void { @@ -382,7 +382,7 @@ class UploadFile /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getOutputDir() : string { @@ -396,7 +396,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setOutputDir(string $outputDir) : void { @@ -406,7 +406,7 @@ class UploadFile /** * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getFileName() : string { @@ -420,7 +420,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setFileName(string $fileName) : void { @@ -434,7 +434,7 @@ class UploadFile * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPreserveFileName(bool $preserveFileName) : void { diff --git a/Models/UploadStatus.php b/Models/UploadStatus.php index e892c55..f7adf95 100644 --- a/Models/UploadStatus.php +++ b/Models/UploadStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\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; /** * Upload status. * - * @package Modules\Media\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class UploadStatus extends Enum { diff --git a/Theme/Backend/Components/InlinePreview/BaseView.php b/Theme/Backend/Components/InlinePreview/BaseView.php index d4058e4..448078e 100644 --- a/Theme/Backend/Components/InlinePreview/BaseView.php +++ b/Theme/Backend/Components/InlinePreview/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/Media/BaseView.php b/Theme/Backend/Components/Media/BaseView.php index ed34429..b751463 100644 --- a/Theme/Backend/Components/Media/BaseView.php +++ b/Theme/Backend/Components/Media/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/Upload/BaseView.php b/Theme/Backend/Components/Upload/BaseView.php index 432ae3e..9e34a80 100644 --- a/Theme/Backend/Components/Upload/BaseView.php +++ b/Theme/Backend/Components/Upload/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 57f235a..3801e94 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' => [ 'Create' => 'Create', diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php index 4d6641a..7fb3f85 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] = [ 'i:ModuleInstalled' => 'Installation of the module {$1} was successful.', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index a914fc5..42e65a7 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 ['Media' => [ 'Account' => 'Account', diff --git a/Theme/Backend/media-create.tpl.php b/Theme/Backend/media-create.tpl.php index e5e14d8..ffdb9cf 100644 --- a/Theme/Backend/media-create.tpl.php +++ b/Theme/Backend/media-create.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 */ /** * @var \phpOMS\Views\View $this diff --git a/Theme/Backend/media-list.tpl.php b/Theme/Backend/media-list.tpl.php index e8ff129..758439d 100644 --- a/Theme/Backend/media-list.tpl.php +++ b/Theme/Backend/media-list.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 */ include __DIR__ . '/template-functions.php'; diff --git a/Theme/Backend/media-single.tpl.php b/Theme/Backend/media-single.tpl.php index b850054..2f4bb09 100644 --- a/Theme/Backend/media-single.tpl.php +++ b/Theme/Backend/media-single.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 */ use \phpOMS\System\File\FileUtils; diff --git a/Views/MediaCreateView.php b/Views/MediaCreateView.php index 006d6c8..4221b78 100644 --- a/Views/MediaCreateView.php +++ b/Views/MediaCreateView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Views - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\Views + * @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\Views\View; /** * Media list view. * - * @package Modules\Media\Views - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Views + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MediaCreateView extends View { diff --git a/Views/MediaView.php b/Views/MediaView.php index 9f8d77d..97c4858 100644 --- a/Views/MediaView.php +++ b/Views/MediaView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Media\Views - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Media\Views + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -25,10 +25,10 @@ use phpOMS\Views\View; /** * Media view. * - * @package Modules\Media\Views - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Media\Views + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MediaView extends View {