Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
parent
f49e4fe3d8
commit
2b6b8bff43
@ -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'];
|
||||
}
|
||||
|
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user