| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class DownloadTextureController extends BaseController |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var MinepicCore |
||
| 20 | */ |
||
| 21 | protected $minepic; |
||
| 22 | |||
| 23 | /** @var ResponseFactory */ |
||
| 24 | protected $responseFactory; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Api constructor. |
||
| 28 | */ |
||
| 29 | public function __construct( |
||
| 30 | MinepicCore $minepic, |
||
| 31 | ResponseFactory $responseFactory |
||
| 32 | ) { |
||
| 33 | $this->minepic = $minepic; |
||
| 34 | $this->responseFactory = $responseFactory; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Serve Avatar. |
||
| 39 | * |
||
| 40 | * @param \Illuminate\Http\Request |
||
| 41 | * |
||
| 42 | * @throws \Throwable |
||
| 43 | */ |
||
| 44 | public function serve(Request $request, string $uuidOrName = ''): Response |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.