Fixed typo
This commit is contained in:
parent
188f282a87
commit
fd5154a469
|
@ -85,7 +85,7 @@ class RpcLiteralResponseMessageBinder implements MessageBinderInterface
|
|||
$this->messageRefs[$hash] = $message;
|
||||
|
||||
if (!$message instanceof $phpType) {
|
||||
throw new \InvalidArgumentException(sprintf('The instance class must be "%s", "%s" given.', get_class($message), $phpType));
|
||||
throw new \InvalidArgumentException(sprintf('The instance class must be "%s", "%s" given.', $phpType, get_class($message)));
|
||||
}
|
||||
|
||||
$messageBinder = new MessageBinder($message);
|
||||
|
|
Loading…
Reference in New Issue