Change all the "new class" by "new Class"

This commit is contained in:
2021-05-07 13:10:37 +02:00
parent c8d275be31
commit c09fa961cd
39 changed files with 430 additions and 432 deletions

View File

@@ -53,7 +53,7 @@ class Jwt
$payload = $this->jsonEncode ($payload);
if ($ckey)
{
$encrypt = new encrypt ();
$encrypt = new Encrypt ();
$payload = $encrypt->encrypt ($payload, $ckey, $cipherMethod);
}
$segments[] = $this->urlsafeB64Encode ($payload);
@@ -94,7 +94,7 @@ class Jwt
$payload = $this->urlsafeB64Decode ($payloadb64);
if ($ckey)
{
$encrypt = new encrypt ();
$encrypt = new Encrypt ();
$payload = $encrypt->decrypt ($payload, $ckey);
}
$payload = $this->jsonDecode ($payload);