29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 08:03:40 +00:00

Correct FQCN (#35194)

This commit is contained in:
Phil E. Taylor 2021-08-17 18:46:32 +01:00 committed by GitHub
parent 002db7a6ff
commit 67dfcebfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ use Joomla\Component\Joomlaupdate\Administrator\View\Joomlaupdate\HtmlView;
/** @var HtmlView $this */
/** @var WebAssetManager $wa */
/** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('core')
->useScript('com_joomlaupdate.default')

View File

@ -16,7 +16,7 @@ use Joomla\CMS\Layout\LayoutHelper;
/** @var HtmlView $this */
/** @var WebAssetManager $wa */
/** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('core')
->useScript('com_joomlaupdate.default')

View File

@ -16,7 +16,7 @@ use Joomla\CMS\Layout\LayoutHelper;
/** @var HtmlView $this */
/** @var WebAssetManager $wa */
/** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('core')
->useScript('com_joomlaupdate.default')

View File

@ -17,7 +17,7 @@ use Joomla\Component\Joomlaupdate\Administrator\View\Joomlaupdate\HtmlView;
/** @var HtmlView $this */
/** @var WebAssetManager $wa */
/** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('core')
->useScript('com_joomlaupdate.default')

View File

@ -13,7 +13,7 @@ use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\WebAsset\WebAssetManager;
use Joomla\Utilities\ArrayHelper;
/** @var WebAssetManager $wa */
/** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $app->getDocument()->getWebAssetManager();
$wa->registerAndUseScript('metismenu', 'media/templates/site/cassiopeia/js/mod_menu/menu-metismenu.min.js', [], ['defer' => true], ['metismenujs']);