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

TestForm   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A mySubmitOnForm() 0 4 1
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