mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 20:18:59 -05:00
refactor: better php8 usage
- Change simple property init and assign to constructor promotion - Remove unused variable in catch() - Change docs types to union types, where possible
This commit is contained in:
@@ -25,10 +25,8 @@ class ContactController extends Controller
|
||||
{
|
||||
/**
|
||||
* Contact Form.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
*/
|
||||
public function index()
|
||||
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
return \view('contact.index');
|
||||
}
|
||||
@@ -36,7 +34,6 @@ class ContactController extends Controller
|
||||
/**
|
||||
* Send A Contact Email To Owner/First User.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
*
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user