Skip to content

Commit 2dd2eda

Browse files
andreiagithub-actions[bot]
authored andcommitted
Fix styling
1 parent e415032 commit 2dd2eda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Concerns/HasGooglePlaceApi.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,10 @@ protected function getFormattedApiResults($data): array
146146

147147
// array map with keys
148148
$addressFields = array_merge(...array_map(function ($key, $item) {
149-
if (!isset($item['types']) || empty($item['types']) || !isset($item['types'][0])) {
149+
if (! isset($item['types']) || empty($item['types']) || ! isset($item['types'][0])) {
150150
return [];
151151
}
152+
152153
return [
153154
$item['types'][0] => [
154155
'long_name' => $item[$this->currentApiNamingConventions['longText']],

0 commit comments

Comments
 (0)