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

@@ -18,9 +18,6 @@ class AddTeamMember implements AddsTeamMembers
*
* @param mixed $user
* @param mixed $team
* @param string $email
* @param string|null $role
* @return void
*/
public function add($user, $team, string $email, string $role = null): void
{
@@ -43,9 +40,6 @@ class AddTeamMember implements AddsTeamMembers
* Validate the add member operation.
*
* @param mixed $team
* @param string $email
* @param string|null $role
* @return void
*/
protected function validate($team, string $email, ?string $role): void
{
@@ -61,8 +55,6 @@ class AddTeamMember implements AddsTeamMembers
/**
* Get the validation rules for adding a team member.
*
* @return array
*/
protected function rules(): array
{
@@ -78,8 +70,6 @@ class AddTeamMember implements AddsTeamMembers
* 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
{