diff --git a/Admin/Installer.php b/Admin/Installer.php index dcc6479..1b1312b 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -26,4 +26,11 @@ use phpOMS\Module\InstallerAbstract; */ final class Installer extends InstallerAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/Admin/Status.php b/Admin/Status.php index 52e2252..6cb1ce1 100644 --- 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 435ca68..6567fa3 100644 --- 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/NullSurveyTemplateElement.php b/Models/NullSurveyTemplateElement.php index e3dd216..d445db4 100644 --- a/Models/NullSurveyTemplateElement.php +++ b/Models/NullSurveyTemplateElement.php @@ -34,6 +34,5 @@ final class NullSurveyTemplateElement extends SurveyTemplateElement public function __construct(int $id = 0) { $this->id = $id; - parent::__construct(); } }