Fix issues with validation in admin CP for server variables, closes #780

This commit is contained in:
Dane Everitt 2017-11-25 13:15:46 -06:00
parent 0bb44a4972
commit 20c1c74116
6 changed files with 42 additions and 88 deletions

View file

@ -78,9 +78,10 @@ class StartupModificationService
* @param \Pterodactyl\Models\Server $server
* @param array $data
*
* @throws \Pterodactyl\Exceptions\DisplayException
* @throws \Illuminate\Validation\ValidationException
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
*/
public function handle(Server $server, array $data)
{