Completed
Pull Request — master (#63)
by Franco
01:14
created

MultiFormTestStepThree::getFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace SilverStripe\MultiForm\Tests;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\Forms\FieldList;
7
use SilverStripe\Forms\TextField;
8
use SilverStripe\MultiForm\Models\MultiFormStep;
9
10
/**
11
 * @package multiform
12
 * @subpackage tests
13
 */
14
class MultiFormTestStepThree extends MultiFormStep implements TestOnly
15
{
16
    private static $is_final_step = true;
0 ignored issues
show
Unused Code introduced by
The property $is_final_step is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
17
18
    public function getFields()
19
    {
20
        return FieldList::create(
21
            new TextField('Test', 'Anything else you\'d like to tell us?')
22
        );
23
    }
24
}
25