Skip to content

Commit

Permalink
pkp#10630 Review Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed Dec 19, 2024
1 parent 558521a commit 230f25a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
use Illuminate\Routing\Controller;
use PKP\invitation\core\enums\InvitationAction;

/**
* @template TInvitation of Invitation
*/
abstract class InvitationActionRedirectController extends Controller
{
/** @var TInvitation */
protected Invitation $invitation;

public function __construct(Invitation $invitation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
use PKP\invitation\stepTypes\AcceptInvitationStep;
use APP\facades\Repo;

/**
* @extends InvitationActionRedirectController<UserRoleAssignmentInvite>
*/
class UserRoleAssignmentInviteRedirectController extends InvitationActionRedirectController
{
public function getInvitation(): UserRoleAssignmentInvite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

use Illuminate\Http\Request;
use PKP\invitation\invitations\userRoleAssignment\payload\UserRoleAssignmentInvitePayload;
use PKP\user\User;

class UserRoleAssignmentInviteManagerDataResource extends BaseUserRoleAssignmentInviteResource
{
Expand Down

0 comments on commit 230f25a

Please sign in to comment.