aboutsummaryrefslogtreecommitdiff
path: root/src/Repositories/GenreRepository.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Repositories/GenreRepository.php')
-rw-r--r--src/Repositories/GenreRepository.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Repositories/GenreRepository.php b/src/Repositories/GenreRepository.php
index 67c9a4e..8b1284b 100644
--- a/src/Repositories/GenreRepository.php
+++ b/src/Repositories/GenreRepository.php
@@ -91,7 +91,7 @@ final class GenreRepository implements BaseRepository {
}
$result[] = GenreEntity::create([
- 'id' => IntegerParser::get($element['id']),
+ 'id' => StringParser::get($element['id']),
'lang' => StringParser::get($element->name['lang']),
'name' => StringParser::get($element->name),
'version' => StringParser::get($element['version']),