Completed
Push — develop ( efbf23...556e46 )
by Paul
02:08
created

Number::render()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace GeminiLabs\Castor\Forms\Fields;
4
5
use GeminiLabs\Castor\Forms\Fields\Text;
6
7
class Number extends Text
8
{
9
	/**
10
	 * @return string
11
	 */
12
	public function render()
13
	{
14
		return parent::render([
15
			'class' => 'small-text',
16
			'min'   => '0',
17
			'type'  => 'number',
18
		]);
19
	}
20
}
21