From 8199a5d6f31ba00a3748c1912ae9533c0f439d8e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 1 Jul 2024 03:22:52 +0000 Subject: [PATCH] Dusting --- app/Policies/SummonerEmotePolicy.php | 28 ++++++--------------- app/View/Components/About/Faq/Dropdown.php | 3 +-- app/View/Components/Champions/List_all.php | 4 +-- app/View/Components/Emotes/List_all.php | 4 +-- app/View/Components/Icons/List_all.php | 4 +-- app/View/Components/Icons/View_grid.php | 4 +-- app/View/Components/Posts/Listposts.php | 4 +-- app/View/Components/Sales/Current_sales.php | 4 +-- app/View/Components/Skins/Grid_info.php | 4 +-- app/View/Components/Skins/Paginatedlist.php | 4 +-- app/View/Components/home/recent_skins.php | 4 +-- app/View/Components/home/upcoming_skins.php | 4 +-- 12 files changed, 18 insertions(+), 53 deletions(-) diff --git a/app/Policies/SummonerEmotePolicy.php b/app/Policies/SummonerEmotePolicy.php index 8f13068..be54978 100644 --- a/app/Policies/SummonerEmotePolicy.php +++ b/app/Policies/SummonerEmotePolicy.php @@ -10,31 +10,17 @@ class SummonerEmotePolicy { use HandlesAuthorization; - public function viewAny(User $user): bool - { - } + public function viewAny(User $user): bool {} - public function view(User $user, SummonerEmote $summonerEmote): bool - { - } + public function view(User $user, SummonerEmote $summonerEmote): bool {} - public function create(User $user): bool - { - } + public function create(User $user): bool {} - public function update(User $user, SummonerEmote $summonerEmote): bool - { - } + public function update(User $user, SummonerEmote $summonerEmote): bool {} - public function delete(User $user, SummonerEmote $summonerEmote): bool - { - } + public function delete(User $user, SummonerEmote $summonerEmote): bool {} - public function restore(User $user, SummonerEmote $summonerEmote): bool - { - } + public function restore(User $user, SummonerEmote $summonerEmote): bool {} - public function forceDelete(User $user, SummonerEmote $summonerEmote): bool - { - } + public function forceDelete(User $user, SummonerEmote $summonerEmote): bool {} } diff --git a/app/View/Components/About/Faq/Dropdown.php b/app/View/Components/About/Faq/Dropdown.php index fbfbe1c..c123645 100644 --- a/app/View/Components/About/Faq/Dropdown.php +++ b/app/View/Components/About/Faq/Dropdown.php @@ -10,8 +10,7 @@ class Dropdown extends Component public function __construct( public string $question, public string $answer - ) { - } + ) {} public function render(): View { diff --git a/app/View/Components/Champions/List_all.php b/app/View/Components/Champions/List_all.php index 902eaa3..47061e3 100644 --- a/app/View/Components/Champions/List_all.php +++ b/app/View/Components/Champions/List_all.php @@ -7,9 +7,7 @@ use Illuminate\View\Component; class List_all extends Component { - public function __construct(public array $champions, public array $roles) - { - } + public function __construct(public array $champions, public array $roles) {} public function render(): View { diff --git a/app/View/Components/Emotes/List_all.php b/app/View/Components/Emotes/List_all.php index 21b8c6f..55328b1 100644 --- a/app/View/Components/Emotes/List_all.php +++ b/app/View/Components/Emotes/List_all.php @@ -8,9 +8,7 @@ use Illuminate\View\Component; class List_all extends Component { - public function __construct(public SummonerEmote $emotes) - { - } + public function __construct(public SummonerEmote $emotes) {} public function render(): View { diff --git a/app/View/Components/Icons/List_all.php b/app/View/Components/Icons/List_all.php index c70e618..99df428 100644 --- a/app/View/Components/Icons/List_all.php +++ b/app/View/Components/Icons/List_all.php @@ -8,9 +8,7 @@ use Illuminate\View\Component; class List_all extends Component { - public function __construct(public SummonerIcon $icons) - { - } + public function __construct(public SummonerIcon $icons) {} public function render(): View { diff --git a/app/View/Components/Icons/View_grid.php b/app/View/Components/Icons/View_grid.php index 08dc7aa..db6b2bc 100644 --- a/app/View/Components/Icons/View_grid.php +++ b/app/View/Components/Icons/View_grid.php @@ -8,9 +8,7 @@ use Illuminate\View\Component; class View_grid extends Component { - public function __construct(public SummonerIcon $icon) - { - } + public function __construct(public SummonerIcon $icon) {} public function render(): View { diff --git a/app/View/Components/Posts/Listposts.php b/app/View/Components/Posts/Listposts.php index 80800c4..2504cfd 100644 --- a/app/View/Components/Posts/Listposts.php +++ b/app/View/Components/Posts/Listposts.php @@ -8,9 +8,7 @@ use Illuminate\View\Component; class Listposts extends Component { - public function __construct(public LengthAwarePaginator $posts) - { - } + public function __construct(public LengthAwarePaginator $posts) {} public function render(): View { diff --git a/app/View/Components/Sales/Current_sales.php b/app/View/Components/Sales/Current_sales.php index b369906..d9499f0 100644 --- a/app/View/Components/Sales/Current_sales.php +++ b/app/View/Components/Sales/Current_sales.php @@ -7,9 +7,7 @@ use Illuminate\View\Component; class Current_sales extends Component { - public function __construct(public array $sales) - { - } + public function __construct(public array $sales) {} public function render(): View { diff --git a/app/View/Components/Skins/Grid_info.php b/app/View/Components/Skins/Grid_info.php index 91a37b5..37ab8d0 100644 --- a/app/View/Components/Skins/Grid_info.php +++ b/app/View/Components/Skins/Grid_info.php @@ -8,9 +8,7 @@ use Illuminate\View\Component; class Grid_info extends Component { - public function __construct(public ChampionSkin $skin) - { - } + public function __construct(public ChampionSkin $skin) {} public function render(): View { diff --git a/app/View/Components/Skins/Paginatedlist.php b/app/View/Components/Skins/Paginatedlist.php index e80d781..9583b77 100644 --- a/app/View/Components/Skins/Paginatedlist.php +++ b/app/View/Components/Skins/Paginatedlist.php @@ -8,9 +8,7 @@ use Illuminate\View\Component; class Paginatedlist extends Component { - public function __construct(public Paginator $skins, public array $rarityColor) - { - } + public function __construct(public Paginator $skins, public array $rarityColor) {} public function render(): View { diff --git a/app/View/Components/home/recent_skins.php b/app/View/Components/home/recent_skins.php index 52c5733..aedc35a 100644 --- a/app/View/Components/home/recent_skins.php +++ b/app/View/Components/home/recent_skins.php @@ -11,9 +11,7 @@ class recent_skins extends Component /** * Create a new component instance. */ - public function __construct(public array $latestSkins) - { - } + public function __construct(public array $latestSkins) {} /** * Get the view / contents that represent the component. diff --git a/app/View/Components/home/upcoming_skins.php b/app/View/Components/home/upcoming_skins.php index 9c8f298..a069b8f 100644 --- a/app/View/Components/home/upcoming_skins.php +++ b/app/View/Components/home/upcoming_skins.php @@ -7,9 +7,7 @@ use Illuminate\View\Component; class upcoming_skins extends Component { - public function __construct(public array $upcomingSkins) - { - } + public function __construct(public array $upcomingSkins) {} public function render(): View {