phpcs, static and unit test fixes

This commit is contained in:
Dennis Eichhorn 2021-10-03 09:16:47 +02:00
parent 43ff9918a3
commit 1c6bd0f347
4 changed files with 22 additions and 2 deletions

View File

@ -26,4 +26,11 @@ use phpOMS\Module\InstallerAbstract;
*/ */
final class Installer extends InstallerAbstract final class Installer extends InstallerAbstract
{ {
/**
* Path of the file
*
* @var string
* @since 1.0.0
*/
public const PATH = __DIR__;
} }

View File

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

View File

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

View File

@ -34,6 +34,5 @@ final class NullSurveyTemplateElement extends SurveyTemplateElement
public function __construct(int $id = 0) public function __construct(int $id = 0)
{ {
$this->id = $id; $this->id = $id;
parent::__construct();
} }
} }