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.

Customer   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A exchangeArray() 0 4 1
A getArrayCopy() 0 4 1
A setInputFilter() 0 4 1
A getInputFilter() 0 9 2
1
<?php
2
/**
3
 * ZfTable ( Module for Zend Framework 2)
4
 *
5
 * @copyright Copyright (c) 2013 Piotr Duda [email protected]
6
 * @license   MIT License
7
 */
8
9
namespace ZfTable\Example\Model;
10
11
use Zend\InputFilter\InputFilter;
12
use Zend\InputFilter\Factory as InputFactory;
13
use Zend\InputFilter\InputFilterAwareInterface;
14
use Zend\InputFilter\InputFilterInterface;
15
16
class Customer implements InputFilterAwareInterface
17
{
18
19
    protected $inputFilter;
20
21
    /**
22
     * Used by ResultSet to pass each database row to the entity
23
     */
24
    public function exchangeArray($data)
25
    {
26
27
    }
28
29
    public function getArrayCopy()
30
    {
31
        return get_object_vars($this);
32
    }
33
34
    public function setInputFilter(InputFilterInterface $inputFilter)
35
    {
36
        throw new \Exception("Not used");
37
    }
38
39
    public function getInputFilter()
40
    {
41
        if (!$this->inputFilter) {
42
            $inputFilter = new InputFilter();
43
            $this->inputFilter = $inputFilter;
44
        }
45
46
        return $this->inputFilter;
47
    }
48
}
49