Skip to content
Merged

Lint #142

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Fieldtypes/MailchimpAudience.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ protected function toItemArray($id)
if (! $list = $this->callApi("lists/{$id}")) {
return [];
}

if (! $id = Arr::get($list, 'id')) {
return [];
}

return [
'id' => $id,
'title' => Arr::get($list, 'name'),
Expand Down
2 changes: 1 addition & 1 deletion src/UserConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function save()
}

/**
* Get user config from yaml
* Get user config from yaml.
*
* @return array
*/
Expand Down