diff --git a/app/Console/Commands/Environment/EmailSettingsCommand.php b/app/Console/Commands/Environment/EmailSettingsCommand.php index 0403d7f11..0a29f2da2 100644 --- a/app/Console/Commands/Environment/EmailSettingsCommand.php +++ b/app/Console/Commands/Environment/EmailSettingsCommand.php @@ -59,6 +59,7 @@ class EmailSettingsCommand extends Command /** * Handle command execution. + * @throws \Pterodactyl\Exceptions\PterodactylException */ public function handle() { diff --git a/app/Http/Controllers/Admin/ApiController.php b/app/Http/Controllers/Admin/ApiController.php index bbf4bcbf8..2fa541bc7 100644 --- a/app/Http/Controllers/Admin/ApiController.php +++ b/app/Http/Controllers/Admin/ApiController.php @@ -65,6 +65,7 @@ class ApiController extends Controller * Render view allowing an admin to create a new application API key. * * @return \Illuminate\View\View + * @throws \ReflectionException */ public function create(): View { diff --git a/app/Http/Requests/Admin/Api/StoreApplicationApiKeyRequest.php b/app/Http/Requests/Admin/Api/StoreApplicationApiKeyRequest.php index 372dd115d..241c2096d 100644 --- a/app/Http/Requests/Admin/Api/StoreApplicationApiKeyRequest.php +++ b/app/Http/Requests/Admin/Api/StoreApplicationApiKeyRequest.php @@ -10,6 +10,8 @@ class StoreApplicationApiKeyRequest extends AdminFormRequest { /** * @return array + * @throws \ReflectionException + * @throws \ReflectionException */ public function rules() {