@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Oauth; |
4 | 4 | |
@@ -19,13 +19,13 @@ discard block |
||
19 | 19 | public function getHeader(): string |
20 | 20 | { |
21 | 21 | $header = 'OAuth '; |
22 | - $header.= 'oauth_consumer_key="' . $this->parameters->getConsumerKey() . '", '; |
|
23 | - $header.= 'oauth_nonce="' . $this->parameters->getNonce() . '", '; |
|
24 | - $header.= 'oauth_signature="' . $this->signature->getSignature() . '", '; |
|
25 | - $header.= 'oauth_signature_method="' . $this->parameters->getSignatureMethod() . '", '; |
|
26 | - $header.= 'oauth_timestamp="' . $this->parameters->getTimestamp() . '", '; |
|
27 | - $header.= 'oauth_token="' . $this->parameters->getToken() . '", '; |
|
28 | - $header.= 'oauth_version="' . $this->parameters->getVersion() . '"'; |
|
22 | + $header .= 'oauth_consumer_key="' . $this->parameters->getConsumerKey() . '", '; |
|
23 | + $header .= 'oauth_nonce="' . $this->parameters->getNonce() . '", '; |
|
24 | + $header .= 'oauth_signature="' . $this->signature->getSignature() . '", '; |
|
25 | + $header .= 'oauth_signature_method="' . $this->parameters->getSignatureMethod() . '", '; |
|
26 | + $header .= 'oauth_timestamp="' . $this->parameters->getTimestamp() . '", '; |
|
27 | + $header .= 'oauth_token="' . $this->parameters->getToken() . '", '; |
|
28 | + $header .= 'oauth_version="' . $this->parameters->getVersion() . '"'; |
|
29 | 29 | |
30 | 30 | return $header; |
31 | 31 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Oauth; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Oauth\Signature; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Http; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Credentials; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Request; |
4 | 4 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | public function hasExtraErrorInfo(): bool |
19 | 19 | { |
20 | - return (bool)count($this->extraErrorInfo); |
|
20 | + return (bool) count($this->extraErrorInfo); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | public function getExtraErrorInfo(): array |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace PeeHaa\AsyncTwitter\Examples; |
4 | 4 |