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

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