Removed a few bugs in the Frontend regarding incompatible data types (inheritance)

This commit is contained in:
Christian Wolf 2019-04-15 15:47:07 +02:00
parent 9c407e750f
commit 8aaf1bf057
6 changed files with 7 additions and 6 deletions

View File

@ -11,11 +11,12 @@ defined('_JEXEC') or die;
class ClubsViewClubAssoc extends HtmlView
{
public function display(string $tpl = null)
public function display($tpl = null)
{
// FIXME Insert code from DB
$inp = Factory::getApplication()->input;
$this->personId = 34;
$this->userName = 'Max Muster';
$this->userMail = 'Foo@bar.com';
$this->userPhone = '34';

View File

@ -10,7 +10,7 @@ defined('_JEXEC') or die;
class ClubsViewClubData extends HtmlView
{
public function display(string $tpl = null)
public function display($tpl = null)
{
// FIXME Insert code from DB
$this->clubid = 43;

View File

@ -10,7 +10,7 @@ defined('_JEXEC') or die;
class ClubsViewClubPlace extends HtmlView
{
public function display(string $tpl = null)
public function display($tpl = null)
{
// FIXME Insert code from DB
$this->clubid = 43;

View File

@ -10,7 +10,7 @@ defined('_JEXEC') or die;
class ClubsViewClubPlaces extends HtmlView
{
public function display(string $tpl = null)
public function display($tpl = null)
{
// FIXME Insert code from DB
$this->clubid = 43;

View File

@ -10,7 +10,7 @@ defined('_JEXEC') or die;
class ClubsViewSearchPerson extends HtmlView
{
public function display(string $tpl = null)
public function display($tpl = null)
{
// FIXME Insert code from DB
$inp = Factory::getApplication()->input;

View File

@ -9,7 +9,7 @@ defined('_JEXEC') or die;
class ClubsViewUSerdata extends HtmlView
{
public function display(string $tpl = null)
public function display($tpl = null)
{
Factory::getDocument()->addStyleSheet(Uri::base(true) . 'components/com_clubs/css/clubs.css');
parent::display($tpl);