You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is an error in the relationship between the city of Lisbon and the state of Guarda. There is no such city in the District of Guarda in Portugal. The coordinates of the objects are in the direction of Lisbon.
To Reproduce
Steps to reproduce the behavior:
$city = $world->cities([
'fields' => 'state',
'filters' => [
'country_id' => 177
'name' => "Lisbon"
]
]);
Describe the bug
There is an error in the relationship between the city of Lisbon and the state of Guarda. There is no such city in the District of Guarda in Portugal. The coordinates of the objects are in the direction of Lisbon.
To Reproduce
Steps to reproduce the behavior:
$city = $world->cities([
'fields' => 'state',
'filters' => [
'country_id' => 177
'name' => "Lisbon"
]
]);
Illuminate\Support\Collection {#2992
#items: array:2 [
0 => array:3 [
"id" => 92180
"name" => "Lisbon"
"state" => array:2 [
"id" => 3285
"name" => "Guarda"
] ---> is wrong
]
1 => array:3 [
"id" => 92582
"name" => "Lisbon"
"state" => array:2 [
"id" => 3287
"name" => "Lisbon"
]
]
]
}
Expected behavior
Illuminate\Support\Collection {#2992
#items: array:1 [
0 => array:3 [
"id" => 92582
"name" => "Lisbon"
"state" => array:2 [
"id" => 3287
"name" => "Lisbon"
]
]
]
}
Additional context
I did the fix in this PR #110
The text was updated successfully, but these errors were encountered: