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 b26da23 commit 12b4255
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Added @phpstan-require-implements constraints

## v0.4.2 (2024-08-21)
* Updated dependencies

Expand Down
3 changes: 3 additions & 0 deletions src/SerializableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
use DOMElement;
use ReflectionClass;

/**
* @phpstan-require-implements Serializable
*/
trait SerializableTrait
{
/**
Expand Down

0 comments on commit 12b4255

Please sign in to comment.