Passed
Push — master ( 19491e...cd3208 )
by smiley
01:59
created
src/BattleNet/BattleNetEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * @link https://develop.battle.net/documentation/api-reference
19 19
  */
20
-class BattleNetEndpoints extends EndpointMap{
20
+class BattleNetEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $userinfo = [
23 23
 		'path'          => '/oauth/userinfo',
Please login to merge, or discard this patch.
src/BattleNet/BattleNet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	 * @param \chillerlan\Settings\SettingsContainerInterface $options
44 44
 	 * @param \Psr\Log\LoggerInterface|null                   $logger
45 45
 	 */
46
-	public function __construct(ClientInterface $http, OAuthStorageInterface $storage, SettingsContainerInterface $options, LoggerInterface $logger = null){
46
+	public function __construct(ClientInterface $http, OAuthStorageInterface $storage, SettingsContainerInterface $options, LoggerInterface $logger = null) {
47 47
 		parent::__construct($http, $storage, $options, $logger);
48 48
 
49 49
 		$this->setRegion('eu');
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	public function setRegion(string $region):BattleNet{
59 59
 		$region = \strtolower($region);
60 60
 
61
-		if(!\in_array($region, ['apac', 'cn', 'eu', 'us'], true)){
61
+		if (!\in_array($region, ['apac', 'cn', 'eu', 'us'], true)) {
62 62
 			throw new ProviderException('invalid region: '.$region);
63 63
 		}
64 64
 
Please login to merge, or discard this patch.