| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 1 | public function render() |
|
| 14 | { |
||
| 15 | 1 | $canvas = $this->getImageManager()->canvas($this->getWidth(), $this->getHeight(), $this->getTracerColour()); |
|
| 16 | |||
| 17 | 1 | $rectangleConf = function ($rectangle) { |
|
| 18 | $rectangle->border($this->getLineWeight(), '#000'); |
||
| 19 | 1 | }; |
|
| 20 | |||
| 21 | 1 | $canvas->rectangle( |
|
| 22 | 1 | 0, |
|
| 23 | 1 | 0, |
|
| 24 | 1 | $this->getWidth() - $this->getLineWeight(), |
|
| 25 | 1 | $this->getHeight() - $this->getLineWeight(), |
|
| 26 | $rectangleConf |
||
| 27 | ); |
||
| 28 | |||
| 29 | 1 | return $canvas; |
|
| 30 | } |
||
| 31 | } |
||
| 32 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.