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 CourseEventPolicy 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 CourseEventPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\CourseEvent $courseEvent
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function view(User $user, CourseEvent $courseEvent): bool
|
||||
@@ -36,7 +33,6 @@ class CourseEventPolicy 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
|
||||
@@ -47,8 +43,6 @@ class CourseEventPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\CourseEvent $courseEvent
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function update(User $user, CourseEvent $courseEvent): bool
|
||||
@@ -59,8 +53,6 @@ class CourseEventPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\CourseEvent $courseEvent
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function delete(User $user, CourseEvent $courseEvent): bool
|
||||
@@ -71,8 +63,6 @@ class CourseEventPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\CourseEvent $courseEvent
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function restore(User $user, CourseEvent $courseEvent): bool
|
||||
@@ -83,8 +73,6 @@ class CourseEventPolicy extends BasePolicy
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param \App\Models\CourseEvent $courseEvent
|
||||
* @return \Illuminate\Auth\Access\Response|bool
|
||||
*/
|
||||
public function forceDelete(User $user, CourseEvent $courseEvent): bool
|
||||
|
||||
Reference in New Issue
Block a user