From cd8185960bf5c57bed98caf9cc9ec0ae963592c3 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Mon, 9 Nov 2015 20:08:08 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/Aviat/AnimeClient/Controller.php | 2 +- src/Aviat/AnimeClient/Model/AnimeCollection.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Aviat/AnimeClient/Controller.php b/src/Aviat/AnimeClient/Controller.php index be74da07..f053f0cb 100644 --- a/src/Aviat/AnimeClient/Controller.php +++ b/src/Aviat/AnimeClient/Controller.php @@ -159,7 +159,7 @@ class Controller { * @param string $status * @return void */ - public function login($status="") + public function login($status = "") { $message = ""; diff --git a/src/Aviat/AnimeClient/Model/AnimeCollection.php b/src/Aviat/AnimeClient/Model/AnimeCollection.php index ee7f8250..796953c1 100644 --- a/src/Aviat/AnimeClient/Model/AnimeCollection.php +++ b/src/Aviat/AnimeClient/Model/AnimeCollection.php @@ -268,7 +268,7 @@ class AnimeCollection extends DB { */ private function json_import() { - if ( ! file_exists('import.json') || ! $this->valid_database) + if ( ! file_exists('import.json') || ! $this->valid_database) { return; }