From dd0e15137a58b996eb81e7cf8c3851393bf61351 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Tue, 5 Jan 2016 14:55:08 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- .../Hummingbird/Transformer/MangaListTransformer.php | 4 ++-- src/Aviat/AnimeClient/Model/API.php | 2 +- src/Aviat/AnimeClient/Model/DB.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php b/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php index fe252902..0c658efd 100644 --- a/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php +++ b/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php @@ -94,11 +94,11 @@ class MangaListTransformer extends AbstractTransformer { { $private = (array_key_exists('private', $item)) ? (bool)$item['private'] - : false; + : FALSE; $rereading = (array_key_exists('rereading', $item)) ? (bool)$item['rereading'] - : false; + : FALSE; $map = [ 'id' => $item['id'], diff --git a/src/Aviat/AnimeClient/Model/API.php b/src/Aviat/AnimeClient/Model/API.php index 307b54a3..a3c03cfc 100644 --- a/src/Aviat/AnimeClient/Model/API.php +++ b/src/Aviat/AnimeClient/Model/API.php @@ -139,7 +139,7 @@ class API extends BaseModel { * * @codeCoverageIgnore * @param array $array - * @param string $key + * @param string $sort_key * @return void */ protected function sort_by_name(&$array, $sort_key) diff --git a/src/Aviat/AnimeClient/Model/DB.php b/src/Aviat/AnimeClient/Model/DB.php index 3e4fc297..82167e54 100644 --- a/src/Aviat/AnimeClient/Model/DB.php +++ b/src/Aviat/AnimeClient/Model/DB.php @@ -39,7 +39,7 @@ class DB extends BaseModel { public function __construct(ContainerInterface $container) { parent::__construct($container); - $this->db_config = (array) $this->config->get('database'); + $this->db_config = (array)$this->config->get('database'); } } // End of BaseDBModel.php \ No newline at end of file