32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-11-16 09:37:08 +00:00

Update postsavehook params

This commit is contained in:
chmst 2022-05-19 09:06:34 +02:00
parent 4b996063b7
commit 21865207ee

View File

@ -12,6 +12,7 @@ namespace Joomla\Component\Weblinks\Administrator\Controller;
defined('_JEXEC') or die; defined('_JEXEC') or die;
use Joomla\CMS\MVC\Controller\FormController; use Joomla\CMS\MVC\Controller\FormController;
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
use Joomla\CMS\Router\Route; use Joomla\CMS\Router\Route;
use Joomla\CMS\Versioning\VersionableControllerTrait; use Joomla\CMS\Versioning\VersionableControllerTrait;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
@ -118,7 +119,7 @@ class WeblinkController extends FormController
* *
* @since 1.6 * @since 1.6
*/ */
protected function postSaveHook(\JModelLegacy $model, $validData = array()) protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
{ {
$task = $this->getTask(); $task = $this->getTask();