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 11, 2023
1 parent 8453737 commit 0cba618
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 0cba618

Please sign in to comment.