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.

AbstractCellDecorator::setCell()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
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\Decorator\Cell;
10
11
use ZfTable\Decorator\AbstractDecorator;
12
use ZfTable\Decorator\DataAccessInterface;
13
14
abstract class AbstractCellDecorator extends AbstractDecorator implements DataAccessInterface
15
{
16
17
    /**
18
     * Get cell object
19
     * @var \ZfTable\Cell
20
     */
21
    protected $cell;
22
23
    /**
24
     *
25
     * @return \ZfTable\Cell
26
     */
27
    public function getCell()
28
    {
29
        return $this->cell;
30
    }
31
32
    /**
33
     *
34
     * @param \ZfTable\Cell $cell
35
     * @return $this
36
     */
37
    public function setCell($cell)
38
    {
39
        $this->cell = $cell;
40
        return $this;
41
    }
42
43
44
    /**
45
     * Actual row data
46
     *
47
     * @return array
48
     */
49
    public function getActualRow()
50
    {
51
        return $this->getCell()->getActualRow();
52
    }
53
}
54