Joomla 5 compatible

This commit is contained in:
Artem Vasilev 2024-03-16 23:26:26 +03:00
parent 0f895497b8
commit ec47b0a577
2 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.