Apply php-cs-fixer changes
This commit is contained in:
parent
cec96062e3
commit
436e686037
72 changed files with 91 additions and 196 deletions
|
@ -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',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue