mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-24 15:48:27 +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;
|
namespace PatchTester\Controller;
|
||||||
|
|
||||||
|
use Joomla\Application\AbstractApplication;
|
||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -38,12 +39,12 @@ abstract class AbstractController extends \JControllerBase
|
|||||||
/**
|
/**
|
||||||
* Instantiate the controller
|
* Instantiate the controller
|
||||||
*
|
*
|
||||||
* @param \JInput $input The input object.
|
* @param \JInput $input The input object.
|
||||||
* @param \JApplicationBase $app The application object.
|
* @param AbstractApplication $app The application object.
|
||||||
*
|
*
|
||||||
* @since 2.0
|
* @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);
|
parent::__construct($input, $app);
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ class Com_PatchtesterInstallerScript extends JInstallerScript
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->minimumJoomla = '3.6';
|
$this->minimumJoomla = '3.7';
|
||||||
$this->minimumPhp = JOOMLA_MINIMUM_PHP;
|
$this->minimumPhp = JOOMLA_MINIMUM_PHP;
|
||||||
|
|
||||||
$this->deleteFolders = array(
|
$this->deleteFolders = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user