GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 8b034b...b09e0d )
by Gabriel
07:03
created

DynamicForm::generateFormFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace ByTIC\FormBuilder\Tests\Fixtures\Application\Modules\AbstractModule\Forms;
4
5
use ByTIC\FormBuilder\Application\Modules\AbstractModule\Forms\Traits\DynamicFormTrait;
6
use ByTIC\FormBuilder\Tests\Fixtures\Application\Models\Fields\FormField;
7
use Nip\Records\Collections\Collection;
8
9
/**
10
 * Class DynamicForm
11
 * @package ByTIC\FormBuilder\Tests\Fixtures\Application\Modules\AbstractModule\Forms
12
 */
13
class DynamicForm extends \Nip_Form_Model
14
{
15
    use DynamicFormTrait;
16
17
    /**
18
     * @inheritdoc
19
     */
20
    protected function generateFormFields()
21
    {
22
        $types = new Collection();
23
        $types->add(new FormField(), 'id');
24
        $types->add(new FormField(), 'id');
25
        return $types;
26
    }
27
}
28