From 56f9fa28aad6f68c523361efff6b5f48c824758e Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 18 Nov 2015 10:54:06 -0500 Subject: [PATCH] Fix some minor formating issues --- src/Aviat/AnimeClient/AnimeClient.php | 8 ++++---- src/Aviat/AnimeClient/Model/Manga.php | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Aviat/AnimeClient/AnimeClient.php b/src/Aviat/AnimeClient/AnimeClient.php index 501f0a3b..af9d1a07 100644 --- a/src/Aviat/AnimeClient/AnimeClient.php +++ b/src/Aviat/AnimeClient/AnimeClient.php @@ -27,7 +27,7 @@ class AnimeClient { { return ($a === $b) ? 'selected' : ''; } - + /** * Inverse of selected helper function * @@ -39,7 +39,7 @@ class AnimeClient { { return ($a !== $b) ? 'selected' : ''; } - + /** * Determine whether to show the sub-menu * @@ -51,9 +51,9 @@ class AnimeClient { ->server->get('REQUEST_URI'); $blacklist = ['edit', 'add', 'update', 'login', 'logout']; $page_segments = explode("/", $url); - + $intersect = array_intersect($page_segments, $blacklist); - + return empty($intersect); } diff --git a/src/Aviat/AnimeClient/Model/Manga.php b/src/Aviat/AnimeClient/Model/Manga.php index 9f9a0b99..5c1b8585 100644 --- a/src/Aviat/AnimeClient/Model/Manga.php +++ b/src/Aviat/AnimeClient/Model/Manga.php @@ -61,8 +61,6 @@ class Manga extends API { $token = $this->container->get('auth') ->get_auth_token(); - $domain = $this->container->get('request') - ->server->get('HTTP_HOST'); // Set the token cookie, with the authentication token // from the auth class.