mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Remove redundant typing from DocBlocks
This commit is contained in:
committed by
HolgerHatGarKeineNode
parent
98a430c91c
commit
f1905d548d
@@ -13,7 +13,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
@@ -24,8 +23,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\Participant $participant
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function view(User $user, Participant $participant): bool
|
||||
@@ -42,7 +39,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
@@ -53,8 +49,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\Participant $participant
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function update(User $user, Participant $participant): bool
|
||||
@@ -65,8 +59,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\Participant $participant
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function delete(User $user, Participant $participant): bool
|
||||
@@ -77,8 +69,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\Participant $participant
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function restore(User $user, Participant $participant): bool
|
||||
@@ -89,8 +79,6 @@ class ParticipantPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\Participant $participant
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function forceDelete(User $user, Participant $participant): bool
|
||||
|
||||
Reference in New Issue
Block a user