| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class AvatarController extends BaseApiController |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Serve Avatar. |
||
| 14 | * |
||
| 15 | * @param int $size |
||
| 16 | * |
||
| 17 | * @throws \Throwable |
||
| 18 | */ |
||
| 19 | public function serveUuid(Request $request, string $uuid, $size = 0): Response |
||
| 28 | ) |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param int|string $size |
||
| 34 | */ |
||
| 35 | public function serveDefault($size = 0): Response |
||
| 47 |