Remove redundant typing from DocBlocks

This commit is contained in:
Shift
2023-02-19 16:19:48 +00:00
committed by HolgerHatGarKeineNode
parent 98a430c91c
commit f1905d548d
207 changed files with 1 additions and 1262 deletions

View File

@@ -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