Even less floating, please
This commit is contained in:
parent
15b5640f9f
commit
ff4e1ee471
@ -104,7 +104,7 @@ final class AnimeListTransformer extends AbstractTransformer {
|
||||
'notes' => $item['notes'],
|
||||
'rewatching' => (bool) $item['reconsuming'],
|
||||
'rewatched' => (int) $item['reconsumeCount'],
|
||||
'user_rating' => $rating,
|
||||
'user_rating' => (is_string($rating)) ? $rating : (int) $rating,
|
||||
'private' => $item['private'] ?? FALSE,
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user