mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Apply php-cs-fixer changes
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace Pterodactyl\Http\Requests\Api;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use Illuminate\Auth\Access\AuthorizationException;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,8 +9,6 @@ abstract class ApplicationApiRequest extends ApiRequest
|
||||
/**
|
||||
* This will eventually be replaced with per-request permissions checking
|
||||
* on the API key and for the user.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@ class SftpAuthenticationFormRequest extends FormRequest
|
||||
return [
|
||||
'username' => 'required|string',
|
||||
'password' => 'required|string',
|
||||
'type' => 'required|in:password,publicKey'
|
||||
'type' => 'required|in:password,publicKey',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user