Completed
Push — master ( 90d2ed...93cf6b )
by Ricardo
04:10
created

ProjectEntity::getTargetPath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Fabrica\Entities;
4
5
6
class ProjectEntity extends EntityAbstract
7
{
8
    
9
    /**
10
     * Return diretory path
11
     *
12
     * @return string
13
     */
14
    public function getTargetPath(): string
15
    {
16
        return $this->code->getTargetPath();
0 ignored issues
show
Bug introduced by
The method getTargetPath cannot be called on $this->code (of type string).

Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.

Loading history...
17
    }
18
}