Skip to content

Commit c6bbe45

Browse files
author
Phil E. Taylor
authored
[4] Fix undefined classes in params (#35189)
1 parent f993049 commit c6bbe45

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

components/com_contenthistory/src/Controller/DisplayController.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
\defined('_JEXEC') or die;
1313

14+
use Joomla\CMS\Application\CMSApplication;
15+
use Joomla\CMS\Input\Input;
1416
use Joomla\CMS\MVC\Controller\BaseController;
1517
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
1618

@@ -22,14 +24,10 @@
2224
class DisplayController extends BaseController
2325
{
2426
/**
25-
* Constructor.
26-
*
27-
* @param array $config An optional associative array of configuration settings.
28-
* Recognized key values include 'name', 'default_task', 'model_path', and
29-
* 'view_path' (this list is not meant to be comprehensive).
30-
* @param MVCFactoryInterface $factory The factory.
31-
* @param CMSApplication $app The JApplication for the dispatcher
32-
* @param \JInput $input Input
27+
* @param array $config An optional associative array of configuration settings.
28+
* @param MVCFactoryInterface|null $factory The factory.
29+
* @param CMSApplication|null $app The JApplication for the dispatcher
30+
* @param ?Input $input Input
3331
*
3432
* @since 3.0
3533
*/

0 commit comments

Comments
 (0)