- Added Psalm suppression annotations to multiple controller classes - Added PHPDoc comment blocks to seeders and factories - Added comments to indicate unused classes and methods - Removed unused annotations and imports
22 lines
397 B
PHP
22 lines
397 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Controllers\Admin;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\View\View;
|
|
|
|
/**
|
|
* @psalm-suppress UnusedClass
|
|
*/
|
|
class HomeController extends Controller
|
|
{
|
|
/**
|
|
* Show the homepage of the admin CP.
|
|
*/
|
|
public function welcome(): View
|
|
{
|
|
return view('admin.welcome', ['name' => config('admin.user')]);
|
|
}
|
|
}
|