Skip to content

Commit

Permalink
re-add type to depreaction message
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick authored Oct 29, 2023
1 parent 7c50aab commit fc2518a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mapping/Event/Adapter/ORM.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getObjectManager()
}

@trigger_error(sprintf(
'Calling "%s()" on event args that do not implement "getObjectManager()" is deprecated since gedmo/doctrine-extensions 3.x'
'Calling "%s()" on event args of class "%s" that does not implement "getObjectManager()" is deprecated since gedmo/doctrine-extensions 3.x'
.' and will throw a "%s" error in version 4.0.',
__METHOD__,
get_class($this->args),
Expand All @@ -127,7 +127,7 @@ public function getObject(): object
}

@trigger_error(sprintf(
'Calling "%s()" on event args that do not imeplement "getObject()" is deprecated since gedmo/doctrine-extensions 3.x'
'Calling "%s()" on event args of class "%s" that does not imeplement "getObject()" is deprecated since gedmo/doctrine-extensions 3.x'
.' and will throw a "%s" error in version 4.0.',
__METHOD__,
get_class($this->args),
Expand Down

0 comments on commit fc2518a

Please sign in to comment.