Skip to content

Commit

Permalink
Fix phpstan warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Jan 23, 2024
1 parent 1a063d1 commit 4db8f18
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/src/State/InvitationAcceptProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface;

/**
* @implements ProcessorInterface<Invitation>
* @implements ProcessorInterface<Invitation, Invitation>
*/
class InvitationAcceptProcessor implements ProcessorInterface {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion api/src/State/InvitationRejectProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface;

/**
* @implements ProcessorInterface<Invitation>
* @implements ProcessorInterface<Invitation, Invitation>
*/
class InvitationRejectProcessor implements ProcessorInterface {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion api/src/State/ResetPasswordCreateProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Symfony\Component\PasswordHasher\PasswordHasherInterface;

/**
* @implements ProcessorInterface<ResetPassword>
* @implements ProcessorInterface<ResetPassword, ResetPassword>
*/
class ResetPasswordCreateProcessor implements ProcessorInterface {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion api/src/State/ResetPasswordUpdateProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Symfony\Component\PasswordHasher\PasswordHasherInterface;

/**
* @implements ProcessorInterface<ResetPassword>
* @implements ProcessorInterface<ResetPassword, ResetPassword>
*/
class ResetPasswordUpdateProcessor implements ProcessorInterface {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion api/src/State/Util/AbstractPersistProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @template T
*
* @template-implements ProcessorInterface<T>
* @template-implements ProcessorInterface<T, T>
*/
abstract class AbstractPersistProcessor implements ProcessorInterface {
/**
Expand Down
2 changes: 1 addition & 1 deletion api/src/State/Util/AbstractRemoveProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @template T
*
* @template-implements ProcessorInterface<T>
* @template-implements ProcessorInterface<T, T>
*/
abstract class AbstractRemoveProcessor implements ProcessorInterface {
public function __construct(
Expand Down

0 comments on commit 4db8f18

Please sign in to comment.