Skip to content

Commit

Permalink
Merge pull request #9 from sitegeist/task/removeDeprecatedTextMessagF…
Browse files Browse the repository at this point in the history
…ormat

BUGFIX: Fix return type annotation
  • Loading branch information
mficzel authored Mar 6, 2024
2 parents b5ec8d9 + 1e7d020 commit 06f4508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/ContentInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface ContentInterface
public function getType(): string;

/**
* @return array{type:string, text: array{value: string}}
* @return array{type:string}
*/
public function toApiArray(): array;
}
2 changes: 1 addition & 1 deletion Classes/Domain/ContentText.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function getType(): string
}

/**
* @return array{type:string, text: array{value: string}}
* @return array{type:string, value: string}
*/
public function toApiArray(): array
{
Expand Down

0 comments on commit 06f4508

Please sign in to comment.