remove old style array()
This commit is contained in:
parent
f0b8e1ed02
commit
336eb346a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user