mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-24 07:38:26 +00:00
Merge pull request #174 from joomla-extensions/controller-typehint
Controller typehint
This commit is contained in:
commit
1fbafcb37d
@ -8,6 +8,7 @@
|
||||
|
||||
namespace PatchTester\Controller;
|
||||
|
||||
use Joomla\Application\AbstractApplication;
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
/**
|
||||
@ -38,12 +39,12 @@ abstract class AbstractController extends \JControllerBase
|
||||
/**
|
||||
* Instantiate the controller
|
||||
*
|
||||
* @param \JInput $input The input object.
|
||||
* @param \JApplicationBase $app The application object.
|
||||
* @param \JInput $input The input object.
|
||||
* @param AbstractApplication $app The application object.
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
public function __construct(\JInput $input = null, \JApplicationBase $app = null)
|
||||
public function __construct(\JInput $input = null, AbstractApplication $app = null)
|
||||
{
|
||||
parent::__construct($input, $app);
|
||||
|
||||
|
@ -28,7 +28,7 @@ class Com_PatchtesterInstallerScript extends JInstallerScript
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->minimumJoomla = '3.6';
|
||||
$this->minimumJoomla = '3.7';
|
||||
$this->minimumPhp = JOOMLA_MINIMUM_PHP;
|
||||
|
||||
$this->deleteFolders = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user