Skip to content

Commit

Permalink
Update CleanCacheCommand.php (#41555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denitz authored Sep 6, 2023
1 parent f470264 commit 5c8d6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Console/CleanCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function doExecute(InputInterface $input, OutputInterface $output): in
$symfonyStyle->title('Cleaning System Cache');

$cache = $this->getApplication()->bootComponent('com_cache')->getMVCFactory();
/** @var Joomla\Component\Cache\Administrator\Model\CacheModel $model */
/** @var \Joomla\Component\Cache\Administrator\Model\CacheModel $model */
$model = $cache->createModel('Cache', 'Administrator', ['ignore_request' => true]);

if ($input->getArgument('expired')) {
Expand Down

0 comments on commit 5c8d6df

Please sign in to comment.