Code Duplication    Length = 3-7 lines in 2 locations

src/Object/Closure.php 1 location

@@ 12-14 (lines=3) @@
9
10
    public function getAccessPath()
11
    {
12
        if ($this->access_path !== null) {
13
            return parent::getAccessPath().'('.$this->getParams().')';
14
        }
15
    }
16
17
    public function getSize()

src/Object/Method.php 1 location

@@ 172-178 (lines=7) @@
169
170
    public function getAccessPath()
171
    {
172
        if ($this->access_path !== null) {
173
            if ($this->showparams) {
174
                return parent::getAccessPath().'('.$this->getParams().')';
175
            } else {
176
                return parent::getAccessPath();
177
            }
178
        }
179
    }
180
181
    public function getParams()