diff --git a/Admin/Installer.php b/Admin/Installer.php index 133bcb2..492156a 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -35,6 +35,14 @@ use phpOMS\Module\ModuleInfo; */ 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 f83639c..d3d4882 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 944d053..6498f67 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/Bill.php b/Models/Bill.php index ea38ca4..409fc5e 100755 --- a/Models/Bill.php +++ b/Models/Bill.php @@ -55,9 +55,7 @@ class Bill implements \JsonSerializable * @var int|BillType * @since 1.0.0 */ - public int | - -BillType $type = 0; + public int|BillType $type = 0; /** * Bill status. diff --git a/Models/BillElement.php b/Models/BillElement.php index 9a8d03b..64314e5 100755 --- a/Models/BillElement.php +++ b/Models/BillElement.php @@ -91,9 +91,7 @@ class BillElement implements \JsonSerializable */ public int $promotion = 0; - public int | - -Bill $bill = 0; + public int|Bill $bill = 0; /** * Constructor. diff --git a/Models/BillType.php b/Models/BillType.php index af50dfc..8f14cee 100755 --- a/Models/BillType.php +++ b/Models/BillType.php @@ -43,9 +43,7 @@ class BillType * * @var string|BillTypeL11n */ - protected string | - -BillTypeL11n $l11n; + protected string|BillTypeL11n $l11n; /** * Constructor. diff --git a/Models/BillTypeL11n.php b/Models/BillTypeL11n.php index df51dfd..6d1f6cf 100755 --- a/Models/BillTypeL11n.php +++ b/Models/BillTypeL11n.php @@ -41,9 +41,7 @@ class BillTypeL11n implements \JsonSerializable, ArrayableInterface * @var int * @since 1.0.0 */ - protected int | - -BillType $type = 0; + protected int|BillType $type = 0; /** * Language.