Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | 2 | private function buildSignature(PhpInterface $model) { |
|
30 | 2 | $this->writer->write('interface '); |
|
31 | 2 | $this->writer->write($model->getName()); |
|
32 | |||
33 | 2 | if ($model->hasInterfaces()) { |
|
34 | 1 | $this->writer->write(' extends '); |
|
35 | 1 | $this->writer->write(implode(', ', $model->getInterfaces()->toArray())); |
|
36 | } |
||
37 | 2 | } |
|
38 | |||
45 |