mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 01:22:30 +01:00
Add more throwing
This commit is contained in:
parent
3bc2397795
commit
71257c67bf
@ -59,6 +59,7 @@ class EmailSettingsCommand extends Command
|
||||
|
||||
/**
|
||||
* Handle command execution.
|
||||
* @throws \Pterodactyl\Exceptions\PterodactylException
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -10,6 +10,8 @@ class StoreApplicationApiKeyRequest extends AdminFormRequest
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
* @throws \ReflectionException
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user