Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
specialtactics committed Jul 15, 2019
1 parent 5697865 commit 94f458a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transformers/RestfulTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function transformKeysCase(array $transformed)
$fieldNameFormatted = $this->formatKeyCase($fieldName);

// Transform the keys of the array attribute
if (array_key_exists($fieldNameFormatted, $transformed) && !empty($transformed[$fieldNameFormatted])) {
if (array_key_exists($fieldNameFormatted, $transformed) && ! empty($transformed[$fieldNameFormatted])) {
$transformed[$fieldNameFormatted] = $this->formatKeyCase($transformed[$fieldNameFormatted]);
}
}
Expand Down

0 comments on commit 94f458a

Please sign in to comment.