mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
api: cleanup controllers
This commit is contained in:
@@ -7,15 +7,10 @@ use Pterodactyl\Services\Helpers\SoftwareVersionService;
|
||||
|
||||
class VersionController extends ApplicationApiController
|
||||
{
|
||||
/**
|
||||
* @var \Pterodactyl\Services\Helpers\SoftwareVersionService
|
||||
*/
|
||||
private SoftwareVersionService $softwareVersionService;
|
||||
|
||||
/**
|
||||
* VersionController constructor.
|
||||
*
|
||||
* @param \Pterodactyl\Services\Helpers\SoftwareVersionService $softwareVersionService
|
||||
*/
|
||||
public function __construct(SoftwareVersionService $softwareVersionService)
|
||||
{
|
||||
@@ -26,8 +21,6 @@ class VersionController extends ApplicationApiController
|
||||
|
||||
/**
|
||||
* Returns version information.
|
||||
*
|
||||
* @return \Illuminate\Http\JsonResponse
|
||||
*/
|
||||
public function __invoke(): JsonResponse
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user