Completed
Push — master ( eb92ab...a3e742 )
by Robbie
11s
created

MultiFormTestStepTwo::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
namespace SilverStripe\MultiForm\Tests\Stubs;
3
4
use SilverStripe\Dev\TestOnly;
5
use SilverStripe\Forms\FieldList;
6
use SilverStripe\Forms\TextareaField;
7
use SilverStripe\MultiForm\Models\MultiFormStep;
8
9
class MultiFormTestStepTwo extends MultiFormStep implements TestOnly
10
{
11
    private static $next_steps = MultiFormTestStepThree::class;
0 ignored issues
show
Unused Code introduced by
The property $next_steps 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...
12
13
    public function getFields()
14
    {
15
        return new FieldList(
16
            new TextareaField('Comments', 'Tell us a bit about yourself...')
17
        );
18
    }
19
}
20