Skip to content

Commit

Permalink
Incorrect field names fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
l-you committed Mar 8, 2024
1 parent ae25693 commit 56f1c0c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/DataAdapters/Entities/Location/SettlementItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ public function getAreaDescription(): string

public function getAreaDescriptionRu(): string
{
return $this->getField('AreaDescription')->string();
return $this->getField('RegionsDescriptionRu')->string();
}

public function getDescriptionTranslit(): string
public function getAreaDescriptionTranslit(): string
{
return $this->getField('AreaDescription')->string();
return $this->getField('AreaDescriptionTranslit')->string();
}

public function getAreaDescriptionTranslit(): string
public function getDescriptionTranslit(): string
{
return $this->getField('AreaDescriptionTranslit')->string();
return $this->getField('DescriptionTranslit')->string();
}

public function getSettlementTypeDescription(): string
Expand All @@ -76,6 +76,6 @@ public function getSettlementTypeDescriptionRu(): string

public function getSettlementTypeDescriptionTranslit(): string
{
return $this->getField('SettlementTypeDescriptionRu')->string();
return $this->getField('RegionsDescriptionTranslit')->string();
}
}

0 comments on commit 56f1c0c

Please sign in to comment.