Skip to content

Commit

Permalink
Add 'return'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Apr 17, 2020
1 parent 88a0eb2 commit a9ddf65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TranslatableFieldMixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function translatable()
}

$value = array_map(function ($val) {
!is_numeric($val) ? $val : (float) $val;
return !is_numeric($val) ? $val : (float) $val;
}, (array) $value);

$this->component = 'translatable-field';
Expand Down Expand Up @@ -86,7 +86,7 @@ public function translatable()
}

$value = array_map(function ($val) {
!is_numeric($val) ? $val : (float) $val;
return !is_numeric($val) ? $val : (float) $val;
}, (array) $value);

$this->withMeta([
Expand Down

0 comments on commit a9ddf65

Please sign in to comment.