chore: adopt type hints

This commit is contained in:
HDVinnie
2022-01-07 23:35:33 -05:00
parent 15553b61cf
commit 97394c062f
737 changed files with 1968 additions and 4307 deletions
+2 -7
View File
@@ -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);