| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class SkinFrontController extends BaseApiController |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Serve Avatar. |
||
| 18 | * |
||
| 19 | * @param \Illuminate\Http\Request |
||
| 20 | * @param string $uuid User UUID or Username |
||
| 21 | * @param int $size |
||
| 22 | * |
||
| 23 | * @throws \Throwable |
||
| 24 | * |
||
| 25 | * @return \Illuminate\Http\Response |
||
| 26 | */ |
||
| 27 | public function serveUuid(Request $request, $uuid, $size = 0): Response |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param int $size |
||
| 40 | * |
||
| 41 | * @throws \Throwable |
||
| 42 | * |
||
| 43 | * @return Response |
||
| 44 | */ |
||
| 45 | public function serveDefault($size = 0): Response |
||
| 56 |