Skip to content

Commit

Permalink
pint formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Dec 12, 2023
1 parent 3329242 commit ecec8ae
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Actions/Jetstream/AddTeamMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AddTeamMember implements AddsTeamMembers
* @param mixed $team
* @return void
*/
public function add($user, $team, string $email, string $role = null)
public function add($user, $team, string $email, ?string $role = null)
{
Gate::forUser($user)->authorize('addTeamMember', $team);

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Jetstream/InviteTeamMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class InviteTeamMember implements InvitesTeamMembers
* @param mixed $team
* @return void
*/
public function invite($user, $team, string $email, string $role = null)
public function invite($user, $team, string $email, ?string $role = null)
{
Gate::forUser($user)->authorize('addTeamMember', $team);

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Project/AddProjectMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AddProjectMember
* @param mixed $project
* @return void
*/
public function add($user, $project, string $email, string $role = null)
public function add($user, $project, string $email, ?string $role = null)
{
Gate::forUser($user)->authorize('addProjectMember', $project);

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Project/InviteProjectMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class InviteProjectMember
* @param mixed $project
* @return void
*/
public function invite($user, $project, string $email, string $role = null, string $message = null)
public function invite($user, $project, string $email, ?string $role = null, ?string $message = null)
{
// Gate::forUser($user)->authorize('addProjectMember', $project);

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Study/AddStudyMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AddStudyMember
* @param mixed $study
* @return void
*/
public function add($user, $study, string $email, string $role = null)
public function add($user, $study, string $email, ?string $role = null)
{
Gate::forUser($user)->authorize('addStudyMember', $study);

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Study/InviteStudyMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class InviteStudyMember
* @param mixed $study
* @return void
*/
public function invite($user, $study, string $email, string $role = null, string $message = null)
public function invite($user, $study, string $email, ?string $role = null, ?string $message = null)
{
Gate::forUser($user)->authorize('addStudyMember', $study);

Expand Down

0 comments on commit ecec8ae

Please sign in to comment.