Skip to content

Commit

Permalink
Merge pull request #518 from ToshY/bug/517-undefined-properties-voice…
Browse files Browse the repository at this point in the history
…actingrole

updated properties in getters for VoiceActingRole and AnimeStaffPosition
  • Loading branch information
irfan-dahir authored Apr 14, 2023
2 parents 45c4312 + 4edcde2 commit 086c359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Model/Person/AnimeStaffPosition.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ public function getPosition(): string
*/
public function getAnimeMeta(): AnimeMeta
{
return $this->animeMeta;
return $this->anime;
}
}
4 changes: 2 additions & 2 deletions src/Model/Person/VoiceActingRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ public function getRole(): string
*/
public function getAnimeMeta(): AnimeMeta
{
return $this->animeMeta;
return $this->anime;
}

/**
* @return CharacterMeta
*/
public function getCharacterMeta(): CharacterMeta
{
return $this->characterMeta;
return $this->character;
}
}

0 comments on commit 086c359

Please sign in to comment.