From 2b6b8bff436c4dfdc86a281297c4c4b8080594cf Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Sat, 10 Oct 2015 02:35:39 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- .../Hummingbird/Transformer/AnimeListTransformer.php | 4 ++-- .../Hummingbird/Transformer/MangaListTransformer.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Aviat/AnimeClient/Hummingbird/Transformer/AnimeListTransformer.php b/src/Aviat/AnimeClient/Hummingbird/Transformer/AnimeListTransformer.php index 97fb2628..f37e3393 100644 --- a/src/Aviat/AnimeClient/Hummingbird/Transformer/AnimeListTransformer.php +++ b/src/Aviat/AnimeClient/Hummingbird/Transformer/AnimeListTransformer.php @@ -71,7 +71,7 @@ class AnimeListTransformer extends AbstractTransformer { 'id' => $item['id'], 'watching_status' => $item['status'], 'notes' => $item['notes'], - 'rewatching' => (bool) $item['rewatching'], + 'rewatching' => (bool)$item['rewatching'], 'rewatched' => $item['rewatched_times'], 'user_rating' => $rating, ]; @@ -87,7 +87,7 @@ class AnimeListTransformer extends AbstractTransformer { { $genres = []; - foreach($raw_genres as $genre) + foreach ($raw_genres as $genre) { $genres[] = $genre['name']; } diff --git a/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php b/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php index 78f622bd..2bfe22b5 100644 --- a/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php +++ b/src/Aviat/AnimeClient/Hummingbird/Transformer/MangaListTransformer.php @@ -52,7 +52,7 @@ class MangaListTransformer extends AbstractTransformer { 'id' => $item['id'], 'reading_status' => $item['status'], 'notes' => $item['notes'], - 'rereading' => (bool) $item['rereading'], + 'rereading' => (bool)$item['rereading'], 'reread' => $item['reread_count'], 'user_rating' => $rating ];