Passed
Push — develop ( 5f0710...340c0b )
by Neill
12:23 queued 14s
created

Section   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
ccs 0
cts 3
cp 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getErrorHtml() 0 3 1
1
<?php
2
/**
3
 * @link http://www.newicon.net/neon
4
 * @copyright Copyright (c) 2016 Newicon Ltd
5
 * @license http://www.newicon.net/neon/license
6
 */
7
8
namespace neon\core\form\fields;
9
10
use neon\core\form\fields\Field;
11
12
/**
13
 * Class Text
14
 * @package neon\core\form
15
 */
16
class Section extends Field
17
{
18
	/**
19
	 * Sections do not have errors
20
	 * @return string
21
	 */
22
	public function getErrorHtml()
23
	{
24
		return '';
25
	}
26
}