| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class IsometricAvatarController extends BaseApiController |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Serve isometric avatar. |
||
| 14 | * |
||
| 15 | * @param \Illuminate\Http\Request |
||
| 16 | * @param string $uuid User UUID |
||
| 17 | * @param int $size |
||
| 18 | * |
||
| 19 | * @throws \Throwable |
||
| 20 | * |
||
| 21 | * @return \Illuminate\Http\Response |
||
| 22 | */ |
||
| 23 | public function serveUuid(Request $request, $uuid, $size = 0): Response |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param int $size |
||
| 35 | * |
||
| 36 | * @throws \Minepic\Image\Exceptions\SkinNotFountException |
||
| 37 | * @throws \Throwable |
||
| 38 | * |
||
| 39 | * @return Response |
||
| 40 | */ |
||
| 41 | public function serveDefault($size = 0): Response |
||
| 48 |