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.

AbstractParameterResolver   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
initResolver() 0 1 ?
1
<?php
2
3
namespace Lexik\Bundle\PayboxBundle\Paybox;
4
5
use Symfony\Component\OptionsResolver\OptionsResolver;
6
7
/**
8
 * Class AbstractParameterResolver
9
 *
10
 * @package Lexik\Bundle\PayboxBundle\Paybox
11
 */
12
abstract class AbstractParameterResolver implements ParameterResolverInterface
13
{
14
    /**
15
     * @var OptionsResolver
16
     */
17
    protected $resolver;
18
19
    /**
20
     * Constructor initialize all available parameters.
21
     */
22
    public function __construct()
23
    {
24
        $this->resolver = new OptionsResolver();
25
    }
26
27
    /**
28
     * Initialize the OptionResolver with required/optionnal options and allowed values.
29
     */
30
    abstract protected function initResolver();
31
}
32