Skip to content

Commit 71257c6

Browse files
committed
Add more throwing
1 parent 3bc2397 commit 71257c6

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

app/Console/Commands/Environment/EmailSettingsCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function __construct(ConfigRepository $config)
5959

6060
/**
6161
* Handle command execution.
62+
* @throws \Pterodactyl\Exceptions\PterodactylException
6263
*/
6364
public function handle()
6465
{

app/Http/Controllers/Admin/ApiController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function index(Request $request): View
6565
* Render view allowing an admin to create a new application API key.
6666
*
6767
* @return \Illuminate\View\View
68+
* @throws \ReflectionException
6869
*/
6970
public function create(): View
7071
{

app/Http/Requests/Admin/Api/StoreApplicationApiKeyRequest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class StoreApplicationApiKeyRequest extends AdminFormRequest
1010
{
1111
/**
1212
* @return array
13+
* @throws \ReflectionException
14+
* @throws \ReflectionException
1315
*/
1416
public function rules()
1517
{

0 commit comments

Comments
 (0)