mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 03:59:08 -05:00
chore: adopt type hints
This commit is contained in:
@@ -29,10 +29,7 @@ use Illuminate\Support\Facades\DB;
|
||||
*/
|
||||
class StatsController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \Carbon\Carbon|mixed
|
||||
*/
|
||||
public $carbon;
|
||||
public \Carbon\Carbon $carbon;
|
||||
|
||||
/**
|
||||
* StatsController Constructor.
|
||||
@@ -336,10 +333,8 @@ class StatsController extends Controller
|
||||
|
||||
/**
|
||||
* Show Extra-Stats Groups.
|
||||
*
|
||||
* @param \App\Models\Group $id
|
||||
*/
|
||||
public function group($id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
public function group(\App\Models\Group $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
// Fetch Users In Group
|
||||
$group = Group::findOrFail($id);
|
||||
|
||||
Reference in New Issue
Block a user