From ec47b0a57764b361c71d9e21fcf205cc60276b0b Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Sat, 16 Mar 2024 23:26:26 +0300 Subject: [PATCH] Joomla 5 compatible --- com_oauthserver/administrator/src/View/Client/HtmlView.php | 6 +++--- com_oauthserver/administrator/src/View/Clients/HtmlView.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/com_oauthserver/administrator/src/View/Client/HtmlView.php b/com_oauthserver/administrator/src/View/Client/HtmlView.php index d5475f6..b13ae41 100644 --- a/com_oauthserver/administrator/src/View/Client/HtmlView.php +++ b/com_oauthserver/administrator/src/View/Client/HtmlView.php @@ -14,7 +14,7 @@ use Joomla\CMS\Form\Form; use Joomla\CMS\Helper\ContentHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\MVC\View\GenericDataException; -use Joomla\CMS\Object\CMSObject; +use Joomla\CMS\MVC\Model\State; use Joomla\CMS\Toolbar\Toolbar; use Joomla\CMS\Toolbar\ToolbarHelper; @@ -25,11 +25,11 @@ class HtmlView extends \Joomla\CMS\MVC\View\HtmlView /** * Model state variables. * - * @var \Joomla\CMS\Object\CMSObject + * @var State * * @since 1.0.0 */ - protected CMSObject $state; + protected State $state; /** * Form object. diff --git a/com_oauthserver/administrator/src/View/Clients/HtmlView.php b/com_oauthserver/administrator/src/View/Clients/HtmlView.php index ea3b6a5..4448356 100644 --- a/com_oauthserver/administrator/src/View/Clients/HtmlView.php +++ b/com_oauthserver/administrator/src/View/Clients/HtmlView.php @@ -12,8 +12,8 @@ namespace Webmasterskaya\Component\OauthServer\Administrator\View\Clients; use Joomla\CMS\Form\Form; use Joomla\CMS\Helper\ContentHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\MVC\Model\State; use Joomla\CMS\MVC\View\GenericDataException; -use Joomla\CMS\Object\CMSObject; use Joomla\CMS\Pagination\Pagination; use Joomla\CMS\Toolbar\Toolbar; use Joomla\CMS\Toolbar\ToolbarHelper; @@ -25,11 +25,11 @@ class HtmlView extends \Joomla\CMS\MVC\View\HtmlView /** * Model state variables. * - * @var \Joomla\CMS\Object\CMSObject + * @var State * * @since 1.0.0 */ - protected CMSObject $state; + protected State $state; /** * An array of items.