| @@ -145,7 +145,7 @@ | ||
| 145 | 145 | Memcached::OPT_REMOVE_FAILED_SERVERS => true, | 
| 146 | 146 | Memcached::OPT_RETRY_TIMEOUT => 1, | 
| 147 | 147 | ]; | 
| 148 | - $client = array_merge($failover, $client); | |
| 148 | + $client = array_merge($failover, $client); | |
| 149 | 149 | |
| 150 | 150 | $this | 
| 151 | 151 | ->setOptions($connection, $client) | 
| @@ -256,7 +256,7 @@ discard block | ||
| 256 | 256 | */ | 
| 257 | 257 | public function set(string $key, $value, $ttl = null): bool | 
| 258 | 258 |      { | 
| 259 | - $payload = [ | |
| 259 | + $payload = [ | |
| 260 | 260 | "created" => time(), | 
| 261 | 261 | "ttl" => $this->getTtl($ttl), | 
| 262 | 262 | "content" => $this->getSerializedData($value), | 
| @@ -336,7 +336,7 @@ discard block | ||
| 336 | 336 | } | 
| 337 | 337 | |
| 338 | 338 | set_error_handler( | 
| 339 | -            function ($number, $message, $file, $line, $context) use (&$warning) { | |
| 339 | +            function($number, $message, $file, $line, $context) use (&$warning) { | |
| 340 | 340 | $warning = true; | 
| 341 | 341 | }, | 
| 342 | 342 | E_NOTICE | 
| @@ -57,7 +57,7 @@ | ||
| 57 | 57 | |
| 58 | 58 | $warning = false; | 
| 59 | 59 | set_error_handler( | 
| 60 | -                function ($number, $message, $file, $line, $context) use (&$warning) { | |
| 60 | +                function($number, $message, $file, $line, $context) use (&$warning) { | |
| 61 | 61 | $warning = true; | 
| 62 | 62 | }, | 
| 63 | 63 | E_NOTICE | 
| @@ -52,7 +52,7 @@ | ||
| 52 | 52 |      { | 
| 53 | 53 | $warning = false; | 
| 54 | 54 | set_error_handler( | 
| 55 | -            function ($number, $message, $file, $line, $context) use (&$warning) { | |
| 55 | +            function($number, $message, $file, $line, $context) use (&$warning) { | |
| 56 | 56 | $warning = true; | 
| 57 | 57 | }, | 
| 58 | 58 | E_WARNING | 
| @@ -298,7 +298,7 @@ | ||
| 298 | 298 | $handle = $stream; | 
| 299 | 299 |          if (is_string($stream)) { | 
| 300 | 300 | set_error_handler( | 
| 301 | -                function ($error) use (&$warning) { | |
| 301 | +                function($error) use (&$warning) { | |
| 302 | 302 |                      if ($error === E_WARNING) { | 
| 303 | 303 | $warning = true; | 
| 304 | 304 | } | 
| @@ -52,7 +52,7 @@ | ||
| 52 | 52 |      { | 
| 53 | 53 | $warning = false; | 
| 54 | 54 | set_error_handler( | 
| 55 | -            function ($number, $message, $file, $line, $context) use (&$warning) { | |
| 55 | +            function($number, $message, $file, $line, $context) use (&$warning) { | |
| 56 | 56 | $warning = true; | 
| 57 | 57 | }, | 
| 58 | 58 | E_WARNING | 
| @@ -114,7 +114,7 @@ discard block | ||
| 114 | 114 | public function optGroup(string $label = null, array $attributes = []): Select | 
| 115 | 115 |      { | 
| 116 | 116 |          if (!$this->inOptGroup) { | 
| 117 | - $this->store[] = [ | |
| 117 | + $this->store[] = [ | |
| 118 | 118 | "optGroupStart", | 
| 119 | 119 | [ | 
| 120 | 120 | $label, | 
| @@ -125,7 +125,7 @@ discard block | ||
| 125 | 125 | $this->indentLevel += 1; | 
| 126 | 126 |          } else { | 
| 127 | 127 | $this->indentLevel -= 1; | 
| 128 | - $this->store[] = [ | |
| 128 | + $this->store[] = [ | |
| 129 | 129 | "optGroupEnd", | 
| 130 | 130 | [], | 
| 131 | 131 | $this->indent(), | 
| @@ -59,7 +59,7 @@ discard block | ||
| 59 | 59 |      ): array { | 
| 60 | 60 | $blackList = array_filter( | 
| 61 | 61 | $blackList, | 
| 62 | -            function ($element) { | |
| 62 | +            function($element) { | |
| 63 | 63 | return is_int($element) || is_string($element); | 
| 64 | 64 | } | 
| 65 | 65 | ); | 
| @@ -472,7 +472,7 @@ discard block | ||
| 472 | 472 | */ | 
| 473 | 473 | $whiteList = self::filter( | 
| 474 | 474 | $whiteList, | 
| 475 | -            function ($element) { | |
| 475 | +            function($element) { | |
| 476 | 476 | return is_int($element) || is_string($element); | 
| 477 | 477 | } | 
| 478 | 478 | ); | 
| @@ -357,7 +357,7 @@ | ||
| 357 | 357 | final protected function checkHeaderName($name): void | 
| 358 | 358 |      { | 
| 359 | 359 | if ( | 
| 360 | - !is_string($name) || | |
| 360 | + !is_string($name) || | |
| 361 | 361 |              !preg_match("/^[a-zA-Z0-9'`#$%&*+.^_|~!-]+$/", $name) | 
| 362 | 362 |          ) { | 
| 363 | 363 | throw new InvalidArgumentException( |