diff --git a/bin/index.php b/bin/index.php
index 3b089a0..65eb21e 100644
--- a/bin/index.php
+++ b/bin/index.php
@@ -36,7 +36,7 @@ function redirect_to_new()
{
header('Location: ' . $_SERVER['PHP_SELF'] . '?action=new');
- exit();
+ exit;
}
/**
@@ -333,7 +333,7 @@ function print_tokens($access_token, $refresh_token)
echo 'All fields are mandatory!
' . PHP_EOL;
echo 'Start again';
- exit();
+ exit;
}
$_SESSION['clientid'] = $_REQUEST['clientid'];
@@ -355,7 +355,7 @@ function print_tokens($access_token, $refresh_token)
echo 'Invalid State! You will have to start again!
';
echo 'Start again';
- exit();
+ exit;
}
// Clear the state value.
diff --git a/src/Cache/MemcachedCache.php b/src/Cache/MemcachedCache.php
index 96c6cc8..0e579c0 100644
--- a/src/Cache/MemcachedCache.php
+++ b/src/Cache/MemcachedCache.php
@@ -81,7 +81,7 @@ public function __construct($instance = null)
$this->memcached->addServer($configuration->memcached_cache_host, $configuration->memcached_cache_port, 0);
if ($this->is_memcached)
- $this->memcached->setOption(\Memcached::OPT_COMPRESSION, ($configuration->memcached_cache_compressed));
+ $this->memcached->setOption(\Memcached::OPT_COMPRESSION, $configuration->memcached_cache_compressed);
else
$this->flags = ($configuration->memcached_cache_compressed) ? MEMCACHE_COMPRESSED : 0;
}
diff --git a/src/Fetchers/GuzzleFetcher.php b/src/Fetchers/GuzzleFetcher.php
index b263d8b..1a03aaa 100644
--- a/src/Fetchers/GuzzleFetcher.php
+++ b/src/Fetchers/GuzzleFetcher.php
@@ -351,7 +351,7 @@ public function stripRefreshTokenValue(string $uri): string
// If we have 'refresh_token' in the URI, strip it.
if (strpos($uri, 'refresh_token'))
- return Uri::withoutQueryValue((new Uri($uri)), 'refresh_token')
+ return Uri::withoutQueryValue(new Uri($uri), 'refresh_token')
->__toString();
return $uri;