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
@@ -20,9 +20,6 @@ class InviteTeamMember implements InvitesTeamMembers
|
||||
*
|
||||
* @param mixed $user
|
||||
* @param mixed $team
|
||||
* @param string $email
|
||||
* @param string|null $role
|
||||
* @return void
|
||||
*/
|
||||
public function invite($user, $team, string $email, string $role = null): void
|
||||
{
|
||||
@@ -44,9 +41,6 @@ class InviteTeamMember implements InvitesTeamMembers
|
||||
* Validate the invite member operation.
|
||||
*
|
||||
* @param mixed $team
|
||||
* @param string $email
|
||||
* @param string|null $role
|
||||
* @return void
|
||||
*/
|
||||
protected function validate($team, string $email, ?string $role): void
|
||||
{
|
||||
@@ -64,7 +58,6 @@ class InviteTeamMember implements InvitesTeamMembers
|
||||
* Get the validation rules for inviting a team member.
|
||||
*
|
||||
* @param mixed $team
|
||||
* @return array
|
||||
*/
|
||||
protected function rules($team): array
|
||||
{
|
||||
@@ -82,8 +75,6 @@ class InviteTeamMember implements InvitesTeamMembers
|
||||
* Ensure that the user is not already on the team.
|
||||
*
|
||||
* @param mixed $team
|
||||
* @param string $email
|
||||
* @return \Closure
|
||||
*/
|
||||
protected function ensureUserIsNotAlreadyOnTeam($team, string $email): Closure
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user