Add more throwing

This commit is contained in:
Lance Pioch 2018-05-13 12:30:53 -04:00
parent 3bc2397795
commit 71257c67bf
3 changed files with 4 additions and 0 deletions

View file

@ -59,6 +59,7 @@ class EmailSettingsCommand extends Command
/** /**
* Handle command execution. * Handle command execution.
* @throws \Pterodactyl\Exceptions\PterodactylException
*/ */
public function handle() public function handle()
{ {

View file

@ -65,6 +65,7 @@ class ApiController extends Controller
* Render view allowing an admin to create a new application API key. * Render view allowing an admin to create a new application API key.
* *
* @return \Illuminate\View\View * @return \Illuminate\View\View
* @throws \ReflectionException
*/ */
public function create(): View public function create(): View
{ {

View file

@ -10,6 +10,8 @@ class StoreApplicationApiKeyRequest extends AdminFormRequest
{ {
/** /**
* @return array * @return array
* @throws \ReflectionException
* @throws \ReflectionException
*/ */
public function rules() public function rules()
{ {