@@ -74,7 +74,7 @@ |
||
| 74 | 74 | 'persistent' => false, |
| 75 | 75 | 'host-only' => true, |
| 76 | 76 | ); |
| 77 | - $this->flags = array_merge($default_flags, $flags); |
|
| 77 | + $this->flags = array_merge($default_flags, $flags); |
|
| 78 | 78 | |
| 79 | 79 | $this->reference_time = time(); |
| 80 | 80 | if ($reference_time !== null) { |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | // 'CN_match' => $host, |
| 80 | 80 | 'capture_peer_cert' => true, |
| 81 | 81 | ); |
| 82 | - $verifyname = true; |
|
| 82 | + $verifyname = true; |
|
| 83 | 83 | |
| 84 | 84 | // SNI, if enabled (OpenSSL >=0.9.8j) |
| 85 | 85 | if (defined('OPENSSL_TLSEXT_SERVER_NAME') && OPENSSL_TLSEXT_SERVER_NAME) { |
@@ -46,16 +46,16 @@ |
||
| 46 | 46 | /** |
| 47 | 47 | * @inheritdoc |
| 48 | 48 | */ |
| 49 | - public function unserialize( $serialized ) { |
|
| 49 | + public function unserialize($serialized) { |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * @inheritdoc |
| 54 | 54 | */ |
| 55 | - public function __unserialize( $serialized ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound |
|
| 55 | + public function __unserialize($serialized) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound |
|
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | public function __wakeup() { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__wakeupFound |
| 59 | - unset( $this->callback ); |
|
| 59 | + unset($this->callback); |
|
| 60 | 60 | } |
| 61 | 61 | } |