Completed
Push — dev ( 9ff19d...9155f2 )
by Marc
03:27
created

FieldWidget   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A field() 0 3 1
1
<?php namespace Mascame\Artificer\Widget;
2
3
use Mascame\Artificer\Fields\FieldWrapper;
4
5
class FieldWidget extends AbstractWidget implements FieldWidgetInterface
6
{
7
8
    /**
9
     * @param FieldWrapper $field
10
     * @return FieldWrapper
11
     */
12
    public function field(FieldWrapper $field) {
13
        return $field;
14
    }
15
16
}