Completed
Push — fix-2494 ( 3153ee...40d9bb )
by Sam
13:43 queued 06:38
created

TestForm::mySubmitOnForm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SilverStripe\Forms\Tests\FormRequestHandlerTest;
4
5
use SilverStripe\Control\HTTPResponse;
6
use SilverStripe\Forms\Form;
7
8
class TestForm extends Form
9
{
10
    public function mySubmitOnForm()
11
    {
12
        return new HTTPResponse('success', 200);
13
    }
14
}
15