Passed
Pull Request — develop (#906)
by Anh Nguyen
06:17
created

HtmlView   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 10
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A display() 0 2 1
1
<?php
2
3
namespace Redcore\Component\Redcore\Administrator\View\Redcore;
4
5
defined('_JEXEC') or die;
6
7
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
8
9
/**
10
 * @package     Joomla.Administrator
11
 * @subpackage  com_redcore
12
 *
13
 * @copyright   Copyright (C) 2021 redWEB. All rights reserved.
14
 * @license     GNU General Public License version 2; see LICENSE
15
 */
16
17
/**
18
 * Main "Hello World" Admin View
19
 */
20
class HtmlView extends BaseHtmlView {
21
22
	/**
23
	 * Display the main "Redcore" view
24
	 *
25
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
26
	 * @return  void
27
	 */
28
	function display($tpl = null) {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
29
		parent::display($tpl);
30
	}
31
32
33
}