Skip to content

Commit

Permalink
Added @phpstan-require-implements constraints
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Aug 22, 2024
1 parent 3a9c940 commit bacd08e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Added @phpstan-require-implements constraints
* Made PHP8.1 minimum version

## v0.3.4 (2023-09-26)
Expand Down
3 changes: 3 additions & 0 deletions src/CastTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

use TypeError;

/**
* @phpstan-require-implements Cast
*/
trait CastTrait
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/SingleParameterFactoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

/**
* @template TInput
* @phpstan-require-implements SingleParameterFactory<TInput>
*/
trait SingleParameterFactoryTrait
{
Expand Down
3 changes: 3 additions & 0 deletions src/ThenTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace DecodeLabs\Fluidity;

/**
* @phpstan-require-implements Then
*/
trait ThenTrait
{
/**
Expand Down

0 comments on commit bacd08e

Please sign in to comment.