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
Branch development (1ea943)
by butschster
05:38
created

FormFactory::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nc 1
nop 1
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace SleepingOwl\Admin\Factories;
4
5
use SleepingOwl\Admin\Form;
6
use SleepingOwl\Admin\AliasBinder;
7
use SleepingOwl\Admin\Contracts\Form\FormFactoryInterface;
8
9
/**
10
 * @method Form\FormDefault form(array $elements = [])
11
 * @method Form\FormElements elements(array $elements = [])
12
 * @method Form\FormTabbed tabbed(array $elements = [])
13
 * @method Form\FormPanel panel(array $elements = [])
14
 */
15
class FormFactory extends AliasBinder implements FormFactoryInterface
16
{
17
    /**
18
     * FormFactory constructor.
19
     *
20
     * @param \Illuminate\Contracts\Foundation\Application $application
21
     */
22
    public function __construct(\Illuminate\Contracts\Foundation\Application $application)
23
    {
24
        parent::__construct($application);
25
26
        $this->register([
27
            'form' => Form\FormDefault::class,
28
            'elements' => Form\FormElements::class,
29
            'tabbed' => Form\FormTabbed::class,
30
            'panel' => Form\FormPanel::class,
31
        ]);
32
    }
33
}
34