| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function isometricAvatar(string $imagePath, int $size): IsometricAvatar |
||
|
|
|||
| 32 | { |
||
| 33 | $uuid = $this->userdata->uuid ?? env('DEFAULT_UUID'); |
||
| 34 | $timestamp = $this->userdata->updated_at->timestamp ?? \time(); |
||
| 35 | $isometricAvatar = new IsometricAvatar( |
||
| 36 | $uuid, |
||
| 37 | $timestamp |
||
| 38 | ); |
||
| 39 | $isometricAvatar->render($size); |
||
| 40 | |||
| 41 | return $isometricAvatar; |
||
| 42 | } |
||
| 61 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.