Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ namespace Socialbox\Objects;
|
|||
|
||||
use InvalidArgumentException;
|
||||
use ncc\ThirdParty\nikic\PhpParser\Node\Expr\BinaryOp\BooleanOr;
|
||||
use Socialbox\Classes\Logger;
|
||||
use Socialbox\Enums\StandardError;
|
||||
use Socialbox\Exceptions\RpcException;
|
||||
use Socialbox\Exceptions\StandardException;
|
||||
|
@ -130,6 +131,7 @@ class RpcRequest implements SerializableInterface
|
|||
throw new InvalidArgumentException('The \'$result\' property must either be string, boolean, integer, array, null or SerializableInterface');
|
||||
}
|
||||
|
||||
Logger::getLogger()->verbose(sprintf('Producing response for request %s', $this->id));
|
||||
return new RpcResponse($this->id, $result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue