Skip to content

Commit

Permalink
Merge pull request #4530 from usu/fix/linter
Browse files Browse the repository at this point in the history
fix(api): fixes phpstan & psalm errors
  • Loading branch information
carlobeltrame committed Jan 23, 2024
2 parents 47b3e01 + 6269922 commit 2a34bd8
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,void>
*/
abstract class AbstractRemoveProcessor implements ProcessorInterface {
public function __construct(
Expand Down

0 comments on commit 2a34bd8

Please sign in to comment.