Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit 4c28112e3b - Show all commits

View file

@ -2,9 +2,9 @@
namespace Socialbox\Exceptions\Standard;
use Exception;
use InvalidArgumentException;
use Socialbox\Enums\StandardError;
use Throwable;
class InvalidRpcArgumentException extends StandardRpcException
{
@ -12,9 +12,9 @@
* Thrown when a required parameter is missing
*
* @param string $parameterName The name of the parameter that is missing
* @param string|Exception|null $reason The reason why the parameter is invalid can be a string or an exception or null
* @param string|Throwable|null $reason The reason why the parameter is invalid can be a string or an exception or null
*/
public function __construct(string $parameterName, null|string|Exception $reason=null)
public function __construct(string $parameterName, null|string|Throwable $reason=null)
{
if(is_null($reason))
{