Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class SkinBackController extends BaseApiController |
||
15 | { |
||
16 | /** |
||
17 | * Serve Avatar. |
||
18 | * |
||
19 | * @param \Illuminate\Http\Request |
||
20 | * @param string $uuid User UUID |
||
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 |
||
34 | ); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param int $size |
||
39 | * |
||
40 | * @throws \Throwable |
||
41 | * |
||
42 | * @return Response |
||
43 | */ |
||
44 | public function serveDefault($size = 0): Response |
||
55 |