33
0
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:
Michael Babker 2016-10-31 07:14:38 -05:00 committed by GitHub
commit 1fbafcb37d
2 changed files with 5 additions and 4 deletions

View File

@ -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);

View File

@ -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(