From 0cce4012be3038e6d4a29071d2174126edb32914 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Sat, 9 Mar 2024 16:52:07 +0300 Subject: [PATCH] _JEXEC & copyright --- .../administrator/src/Extension/Component.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/com_oauthserver/administrator/src/Extension/Component.php b/com_oauthserver/administrator/src/Extension/Component.php index cd83844..3f83a50 100644 --- a/com_oauthserver/administrator/src/Extension/Component.php +++ b/com_oauthserver/administrator/src/Extension/Component.php @@ -1,4 +1,11 @@ + * @license MIT; see LICENSE.txt + **/ namespace Webmasterskaya\Component\OauthServer\Administrator\Extension; @@ -12,7 +19,7 @@ use Joomla\CMS\HTML\HTMLRegistryAwareTrait; use Psr\Container\ContainerInterface; use Webmasterskaya\Component\OauthServer\Administrator\Helper\ComponentHelper; -\defined('JPATH_PLATFORM') or die; +\defined('_JEXEC') or die; class Component extends MVCComponent implements BootableExtensionInterface, AssociationServiceInterface, RouterServiceInterface @@ -26,13 +33,13 @@ class Component extends MVCComponent implements * registering new class loaders, etc. * * - * @param \Psr\Container\ContainerInterface $container The container + * @param \Psr\Container\ContainerInterface $container The container * * @throws \Exception - * @since 1.0.0 + * @since version */ public function boot(ContainerInterface $container): void { ComponentHelper::registerComponentDependencies(); } -} \ No newline at end of file +}