Completed
Pull Request — master (#21)
by Daniel
03:27 queued 01:17
created

SelectCell::buildForm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 2
1
<?php
2
3
namespace Psi\Component\Grid\Cell;
4
5
use Psi\Component\Grid\CellInterface;
6
7
class SelectCell implements CellInterface
0 ignored issues
show
Bug introduced by
There is one abstract method createView in this class; you could implement it, or declare this class as abstract.
Loading history...
8
{
9
    public function buildForm(FormBuilderInterface $builder, array $options)
10
    {
11
    }
12
13
    public function createCell(CellData $data, array $options): CellViewInterface
0 ignored issues
show
Unused Code introduced by
The parameter $data is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $options is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
14
    {
15
        return new View\Form($cellData);
0 ignored issues
show
Bug introduced by
The variable $cellData does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
16
    }
17
18
    public function configureOptions(OptionsResolver $options)
19
    {
20
    }
21
}
22