@@ -61,7 +61,7 @@ |
||
61 | 61 | * @param bool $bAutoRemove automatic remove of expired subscriptions |
62 | 62 | * @return bool true on success |
63 | 63 | */ |
64 | - public function init(bool $bAutoRemove=true) : bool; |
|
64 | + public function init(bool $bAutoRemove = true) : bool; |
|
65 | 65 | |
66 | 66 | /** |
67 | 67 | * Get count of subscriptions. |
@@ -120,17 +120,17 @@ |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | public static function modSub(\GMP $minuend, \GMP $subtrahend, \GMP $modulus) : \GMP |
123 | - { |
|
124 | - return self::mod(self::sub($minuend, $subtrahend), $modulus); |
|
125 | - } |
|
123 | + { |
|
124 | + return self::mod(self::sub($minuend, $subtrahend), $modulus); |
|
125 | + } |
|
126 | 126 | |
127 | - public static function modMul(\GMP $multiplier, \GMP $muliplicand, \GMP $modulus) : \GMP |
|
128 | - { |
|
129 | - return self::mod(self::mul($multiplier, $muliplicand), $modulus); |
|
130 | - } |
|
127 | + public static function modMul(\GMP $multiplier, \GMP $muliplicand, \GMP $modulus) : \GMP |
|
128 | + { |
|
129 | + return self::mod(self::mul($multiplier, $muliplicand), $modulus); |
|
130 | + } |
|
131 | 131 | |
132 | - public static function modDiv(\GMP $dividend, \GMP $divisor, \GMP $modulus) : \GMP |
|
133 | - { |
|
134 | - return self::mul($dividend, self::inverseMod($divisor, $modulus)); |
|
135 | - } |
|
132 | + public static function modDiv(\GMP $dividend, \GMP $divisor, \GMP $modulus) : \GMP |
|
133 | + { |
|
134 | + return self::mul($dividend, self::inverseMod($divisor, $modulus)); |
|
135 | + } |
|
136 | 136 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | * @param int $timeExpiration |
40 | 40 | * @param string $strEncoding |
41 | 41 | */ |
42 | - public function __construct(string $strEndpoint, string $strPublicKey, string $strAuth, int $timeExpiration=0, string $strEncoding = 'aesgcm') |
|
42 | + public function __construct(string $strEndpoint, string $strPublicKey, string $strAuth, int $timeExpiration = 0, string $strEncoding = 'aesgcm') |
|
43 | 43 | { |
44 | 44 | $this->strEndpoint = $strEndpoint; |
45 | 45 | $this->strPublicKey = $strPublicKey; |