mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-28 08:48:40 +00:00
phpcs, static and unit test fixes
This commit is contained in:
parent
e6165b83ae
commit
94cd4e8b7c
|
|
@ -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}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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__;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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__;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user