mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-05-29 12:18:41 +00:00
phpcs, static and unit test fixes
This commit is contained in:
parent
aea5777368
commit
000dedc18e
|
|
@ -37,6 +37,14 @@ use phpOMS\Module\ModuleInfo;
|
||||||
*/
|
*/
|
||||||
final class Installer extends InstallerAbstract
|
final class Installer extends InstallerAbstract
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Path of the file
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public const PATH = __DIR__;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,11 @@ use phpOMS\Module\StatusAbstract;
|
||||||
*/
|
*/
|
||||||
final class Status extends StatusAbstract
|
final class Status extends StatusAbstract
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Path of the file
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public const PATH = __DIR__;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,13 @@ use phpOMS\Module\UninstallerAbstract;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @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__;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -68,9 +68,7 @@ class ItemAttributeType implements \JsonSerializable, ArrayableInterface
|
||||||
*
|
*
|
||||||
* @var ItemAttributeTypeL11n
|
* @var ItemAttributeTypeL11n
|
||||||
*/
|
*/
|
||||||
protected string |
|
protected string|ItemAttributeTypeL11n $l11n;
|
||||||
|
|
||||||
ItemAttributeTypeL11n $l11n;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Possible default attribute values
|
* Possible default attribute values
|
||||||
|
|
|
||||||
|
|
@ -41,9 +41,7 @@ class ItemAttributeTypeL11n implements \JsonSerializable, ArrayableInterface
|
||||||
* @var int|ItemAttributeType
|
* @var int|ItemAttributeType
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected int |
|
protected int|ItemAttributeType $type = 0;
|
||||||
|
|
||||||
ItemAttributeType $type = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Language.
|
* Language.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user