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

RepositoryEntity   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTargetPath() 0 4 1
1
<?php
2
3
namespace Fabrica\Entities;
4
5
6
class RepositoryEntity 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
}