diff --git a/com_oauthserver/administrator/src/Controller/ClientController.php b/com_oauthserver/administrator/src/Controller/ClientController.php index 69f2edd..73b8a19 100644 --- a/com_oauthserver/administrator/src/Controller/ClientController.php +++ b/com_oauthserver/administrator/src/Controller/ClientController.php @@ -1,4 +1,11 @@ + * @license MIT; see LICENSE.txt + **/ namespace Webmasterskaya\Component\OauthServer\Administrator\Controller; @@ -8,6 +15,8 @@ use Joomla\CMS\MVC\Controller\FormController; use Joomla\CMS\MVC\Factory\MVCFactoryInterface; use Joomla\Input\Input; +\defined('_JEXEC') or die; + class ClientController extends FormController { /** @@ -20,11 +29,12 @@ class ClientController extends FormController protected $text_prefix = 'COM_OAUTHSERVER_CLIENT'; /** - * @param array $config - * @param \Joomla\CMS\MVC\Factory\MVCFactoryInterface|null $factory - * @param \Joomla\CMS\Application\CMSApplication|null $app - * @param \Joomla\Input\Input|null $input - * @param \Joomla\CMS\Form\FormFactoryInterface|null $formFactory + * @param array $config + * @param \Joomla\CMS\MVC\Factory\MVCFactoryInterface|null $factory + * @param \Joomla\CMS\Application\CMSApplication|null $app + * @param \Joomla\Input\Input|null $input + * @param \Joomla\CMS\Form\FormFactoryInterface|null $formFactory + * * @throws \Exception * @since version */ @@ -35,4 +45,4 @@ class ClientController extends FormController $this->registerTask('save2reset', 'save'); } -} \ No newline at end of file +} diff --git a/com_oauthserver/administrator/src/Controller/ClientsController.php b/com_oauthserver/administrator/src/Controller/ClientsController.php index 503d1aa..7868759 100644 --- a/com_oauthserver/administrator/src/Controller/ClientsController.php +++ b/com_oauthserver/administrator/src/Controller/ClientsController.php @@ -1,10 +1,19 @@ + * @license MIT; see LICENSE.txt + **/ namespace Webmasterskaya\Component\OauthServer\Administrator\Controller; use Joomla\CMS\MVC\Controller\AdminController; use Joomla\CMS\MVC\Model\BaseDatabaseModel; +\defined('_JEXEC') or die; + class ClientsController extends AdminController { /** @@ -31,4 +40,4 @@ class ClientsController extends AdminController return parent::getModel($name, $prefix, $config); } -} \ No newline at end of file +} diff --git a/com_oauthserver/administrator/src/Controller/DisplayController.php b/com_oauthserver/administrator/src/Controller/DisplayController.php index 1ef8581..a0ff11f 100644 --- a/com_oauthserver/administrator/src/Controller/DisplayController.php +++ b/com_oauthserver/administrator/src/Controller/DisplayController.php @@ -1,9 +1,18 @@ + * @license MIT; see LICENSE.txt + **/ namespace Webmasterskaya\Component\OauthServer\Administrator\Controller; use Joomla\CMS\MVC\Controller\BaseController; +\defined('_JEXEC') or die; + class DisplayController extends BaseController { /** @@ -14,4 +23,4 @@ class DisplayController extends BaseController * @since 1.0.0 */ protected $default_view = 'clients'; -} \ No newline at end of file +}