Skip to content

Commit

Permalink
[TASK] Adjust deprecation message
Browse files Browse the repository at this point in the history
Related: #25
  • Loading branch information
brotkrueml committed Nov 30, 2019
1 parent 2b2358e commit c73d657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Manager/SchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ public function hasWebPage(): bool
* @param AbstractType $mainEntity
* @return SchemaManager
*
* @deprecated since version 1.4.1, will be removed in 2.0.0
* @deprecated since version 1.4.1, will be removed in version 2.0.0. Use SchemaManager->addMainEntityOfWebPage() instead.
*/
public function setMainEntityOfWebPage(AbstractType $mainEntity): self
{
@\trigger_error(
'Using SchemaManager->setMainEntityOfWebPage() is deprecated and will be removed in version 2.0. Please use SchemaManager->addMainEntityOfWebPage() instead.',
'Using SchemaManager->setMainEntityOfWebPage() is deprecated since version 1.4.1 and will be removed in version 2.0.0. Use SchemaManager->addMainEntityOfWebPage() instead.',
\E_USER_DEPRECATED
);

Expand Down

0 comments on commit c73d657

Please sign in to comment.