Skip to content

Commit 5e07fa7

Browse files
authored
Update Geocoder.md
1 parent 9913525 commit 5e07fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Behavior/Geocoder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Example: Cities and their Countries when saving a city (cities/add or cities/edi
121121

122122
```php
123123
$this->addBehavior('Geo.Geocoder', [
124-
'address' => ['street', 'postal_code', 'city', function(City $entity) {
124+
'address' => ['street', 'postal_code', 'city', function (City $entity) {
125125
// If there is a matching relation
126126
if ($entity->country && $entity->country->id && $entity->country_id) {
127127
return $entity->country->name;

0 commit comments

Comments
 (0)