mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
Dusting
This commit is contained in:
@@ -10,31 +10,17 @@ class SummonerEmotePolicy
|
|||||||
{
|
{
|
||||||
use HandlesAuthorization;
|
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 {}
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,7 @@ class Dropdown extends Component
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
public string $question,
|
public string $question,
|
||||||
public string $answer
|
public string $answer
|
||||||
) {
|
) {}
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,9 +7,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class List_all extends 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
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class List_all extends Component
|
class List_all extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public SummonerEmote $emotes)
|
public function __construct(public SummonerEmote $emotes) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class List_all extends Component
|
class List_all extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public SummonerIcon $icons)
|
public function __construct(public SummonerIcon $icons) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class View_grid extends Component
|
class View_grid extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public SummonerIcon $icon)
|
public function __construct(public SummonerIcon $icon) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class Listposts extends Component
|
class Listposts extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public LengthAwarePaginator $posts)
|
public function __construct(public LengthAwarePaginator $posts) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,9 +7,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class Current_sales extends Component
|
class Current_sales extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public array $sales)
|
public function __construct(public array $sales) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class Grid_info extends Component
|
class Grid_info extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public ChampionSkin $skin)
|
public function __construct(public ChampionSkin $skin) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class Paginatedlist extends 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
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,9 +11,7 @@ class recent_skins extends Component
|
|||||||
/**
|
/**
|
||||||
* Create a new component instance.
|
* 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.
|
* Get the view / contents that represent the component.
|
||||||
|
|||||||
@@ -7,9 +7,7 @@ use Illuminate\View\Component;
|
|||||||
|
|
||||||
class upcoming_skins extends Component
|
class upcoming_skins extends Component
|
||||||
{
|
{
|
||||||
public function __construct(public array $upcomingSkins)
|
public function __construct(public array $upcomingSkins) {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public function render(): View
|
public function render(): View
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user