diff --git a/Admin/Installer.php b/Admin/Installer.php index 9a884fa..39a864f 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -45,6 +45,14 @@ use phpOMS\System\File\PathException; */ final class Installer extends InstallerAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; + /** * {@inheritdoc} */ diff --git a/Admin/Status.php b/Admin/Status.php index a051462..681e673 100755 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -26,4 +26,11 @@ use phpOMS\Module\StatusAbstract; */ final class Status extends StatusAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index e939e0b..444a20a 100755 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -24,6 +24,13 @@ use phpOMS\Module\UninstallerAbstract; * @link https://orange-management.org * @since 1.0.0 */ -final class Uninstaller extends UninstallerAbstract +final class Installer extends InstallerAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/Models/Media.php b/Models/Media.php index 740ddb7..b0f0ab7 100755 --- a/Models/Media.php +++ b/Models/Media.php @@ -51,9 +51,7 @@ class Media implements \JsonSerializable * @var null|int|MediaType * @since 1.0.0 */ - public null | int | - -MediaType $type = null; + public null|int|MediaType $type = null; /** * Extension.