Applied fixes from StyleCI
This commit is contained in:
parent
a7acfb388c
commit
2bc5dc62b7
|
@ -16,12 +16,12 @@ class Crypt
|
||||||
{
|
{
|
||||||
public static function ige_encrypt($message, $key, $iv)
|
public static function ige_encrypt($message, $key, $iv)
|
||||||
{
|
{
|
||||||
return Crypt::_ige($message, $key, $iv, 'encrypt');
|
return self::_ige($message, $key, $iv, 'encrypt');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function ige_decrypt($message, $key, $iv)
|
public static function ige_decrypt($message, $key, $iv)
|
||||||
{
|
{
|
||||||
return Crypt::_ige($message, $key, $iv, 'decrypt');
|
return self::_ige($message, $key, $iv, 'decrypt');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -73,5 +73,4 @@ class Crypt
|
||||||
|
|
||||||
return $ciphered;
|
return $ciphered;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace danog\MadelineProto;
|
namespace danog\MadelineProto;
|
||||||
|
|
||||||
// by https://github.com/mgp25
|
// by https://github.com/mgp25
|
||||||
class TelegramEncryption
|
class TelegramEncryption
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user