remove old style array()

This commit is contained in:
Thomas Kuschel 2023-10-05 02:43:12 +02:00
parent f0b8e1ed02
commit 336eb346a7

View File

@ -9,17 +9,16 @@
*/
namespace KW4NZ\Component\Depot\Administrator\Model;
use Joomla\CMS\MVC\Model\AdminModel;
\defined('_JEXEC') or die;
class PartModel extends AdminModel
{
public function getForm($data = array(), $loadData = true)
public function getForm($data = [], $loadData = true)
{
$form = $this->loadForm('com_depot.part',
'part', array('control' => 'jform',
'load_data' => $loadData));
$form = $this->loadForm('com_depot.part', 'part', ['control' => 'jform', 'load_data' => $loadData]);
if (empty($form)) {
return false;