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::getInputFilter()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.9666
c 0
b 0
f 0
cc 2
nc 2
nop 0
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