@@ -122,7 +122,9 @@ discard block |
||
| 122 | 122 | */ |
| 123 | 123 | protected function sign($options) |
| 124 | 124 | { |
| 125 | - if (isset($this->Sign)) return; |
|
| 125 | + if (isset($this->Sign)) { |
|
| 126 | + return; |
|
| 127 | + } |
|
| 126 | 128 | |
| 127 | 129 | if (isset($options['UseSign']) && ($options['UseSign'] === true)) |
| 128 | 130 | { |
@@ -155,8 +157,7 @@ discard block |
||
| 155 | 157 | ); |
| 156 | 158 | |
| 157 | 159 | return strtoupper(bin2hex($sign)); |
| 158 | - } |
|
| 159 | - catch (\Exception $e) |
|
| 160 | + } catch (\Exception $e) |
|
| 160 | 161 | { |
| 161 | 162 | return null; |
| 162 | 163 | } |