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

Section::getErrorHtml()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
ccs 0
cts 3
cp 0
crap 2
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
}