Skip to content

Commit

Permalink
Merge pull request #666 from tienvx/phpstan-max-xml-text
Browse files Browse the repository at this point in the history
refactor: PHPStan max level > Fix wrong return type
  • Loading branch information
tienvx authored Oct 1, 2024
2 parents baf5f76 + e3f7c1d commit cb805f2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/PhpPact/Xml/XmlText.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ public function __construct(private string|float|int|bool|null|MatcherInterface
{
}

/**
* @return array<string, mixed>
*/
public function jsonSerialize(): array
public function jsonSerialize(): mixed
{
if ($this->content instanceof MatcherInterface) {
return $this->content->jsonSerialize();
Expand Down

0 comments on commit cb805f2

Please sign in to comment.