Skip to content

Commit

Permalink
RemoteEntityProfilePass: Fix error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Tubach committed Aug 8, 2023
1 parent 61aba6f commit 5a371de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private function getAttributeOrConst(
Assert::string($attributes[$key], sprintf(
'Attribute "%s" in tag "%s" of service "%s" expected to be string, got %s',
$key,
ActionHandlerInterface::SERVICE_TAG,
RemoteEntityProfileInterface::SERVICE_TAG,
$id,
gettype($attributes[$key])
));
Expand All @@ -110,7 +110,7 @@ private function getAttributeOrConst(
throw new \RuntimeException(sprintf(
'Neither attribute "%s" in tag "%s" of service "%s" nor constant "%s" exists',
$key,
ActionHandlerInterface::SERVICE_TAG,
RemoteEntityProfileInterface::SERVICE_TAG,
$id,
$constantName
));
Expand Down

0 comments on commit 5a371de

Please sign in to comment.