| Conditions | 2 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | 38 | public function getPhpDeclaration(): string |
|
| 22 | { |
||
| 23 | 38 | return implode('', [ |
|
| 24 | 38 | $this->getPhpAccess(), |
|
| 25 | 38 | $this->getPhpType(), |
|
| 26 | 38 | $this->getAssignmentDeclarator(), |
|
| 27 | 38 | $this->getPhpName(), |
|
| 28 | 38 | $this->getAssignmentSign(), |
|
| 29 | 38 | $this->getPhpValue(), |
|
| 30 | 38 | $this->getAssignmentFinishing(), |
|
| 31 | 38 | $this->endsWithSemicolon() ? ';' : '', |
|
| 32 | ]); |
||
| 35 |