phpcs, static and unit test fixes

This commit is contained in:
Dennis Eichhorn 2021-10-03 09:16:46 +02:00
parent c748fc36ea
commit d98a6b29e3
7 changed files with 27 additions and 13 deletions

View File

@ -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}
*/

View File

@ -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__;
}

View File

@ -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__;
}

View File

@ -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.

View File

@ -91,9 +91,7 @@ class BillElement implements \JsonSerializable
*/
public int $promotion = 0;
public int |
Bill $bill = 0;
public int|Bill $bill = 0;
/**
* Constructor.

View File

@ -43,9 +43,7 @@ class BillType
*
* @var string|BillTypeL11n
*/
protected string |
BillTypeL11n $l11n;
protected string|BillTypeL11n $l11n;
/**
* Constructor.

View File

@ -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.