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 <[email protected]>
  • Loading branch information
betterthanclay committed Aug 22, 2024
1 parent c845b49 commit 5ee4cee
Show file tree
Hide file tree
Showing 4 changed files with 10 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
* Updated Veneer dependency and Stub

## v0.3.7 (2024-07-31)
Expand Down
3 changes: 3 additions & 0 deletions src/Resolver/DefaultNameTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace DecodeLabs\Archetype\Resolver;

/**
* @phpstan-require-implements DefaultName
*/
trait DefaultNameTrait
{
/**
Expand Down
3 changes: 3 additions & 0 deletions src/Resolver/ScannerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;

/**
* @phpstan-require-implements Scanner
*/
trait ScannerTrait
{
/**
Expand Down
3 changes: 3 additions & 0 deletions src/ResolverTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace DecodeLabs\Archetype;

/**
* @phpstan-require-implements Resolver
*/
trait ResolverTrait
{
protected NamespaceMap $namespaces;
Expand Down

0 comments on commit 5ee4cee

Please sign in to comment.