From a93c94f338a9e3188639015346ac01f08a36b44e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 22 Jul 2020 12:36:00 +0400 Subject: Fixed bugs and updated tests Signed-off-by: Valentin Popov --- src/Repositories/GenreRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Repositories/GenreRepository.php') 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']), -- cgit v1.2.3