mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Remove unnecessary function
This commit is contained in:
@@ -44,20 +44,6 @@ abstract class ApplicationApiController extends Controller
|
||||
$this->request = $request;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an instance of an application transformer.
|
||||
*
|
||||
* @return \Pterodactyl\Transformers\Api\Transformer
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Container\BindingResolutionException
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public function getTransformer(string $abstract)
|
||||
{
|
||||
return new $abstract;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a HTTP/201 response for the API.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user