diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index 3ca3f8fe3..d7c17f686 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -842,7 +842,7 @@ class NameFixer * * @throws \Exception */ - public function updateRelease($release, $name, $method, $echo, $type, int $nameStatus, bool $show, int $preId = 0): void + public function updateRelease($release, $name, $method, $echo, $type, $nameStatus, $show, $preId = 0): void { if (\is_array($release)) { $release = (object) $release; diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index b1cf4872e..4bf445584 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -100,11 +100,11 @@ class ProfileController extends BasePageController } /** - * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|void + * @return \Illuminate\Http\RedirectResponse|void * - * @throws \Exception + * @throws \Jrean\UserVerification\Exceptions\ModelNotCompliantException */ - public function edit(Request $request): RedirectResponse + public function edit(Request $request) { $this->setPreferences();