Fix exception when modifying existing DB host, closes #910

This commit is contained in:
Dane Everitt
2018-02-04 12:59:14 -06:00
parent de1d9502c1
commit ff8b5fc5a3
3 changed files with 3 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ class DatabaseController extends Controller
*
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
*/
public function view($host): View
public function view(int $host): View
{
return view('admin.databases.view', [
'locations' => $this->locationRepository->getAllWithNodes(),