Skip to content

Commit

Permalink
Removed ; after if
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenherczeg committed Jul 30, 2020
1 parent 1e090c6 commit a47cc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Row.php
Expand Up @@ -307,7 +307,7 @@ public function resolve($resource, $attribute = null)
$cb = function ($value) {
return \Carbon\Carbon::parse($value)->format('Y-m-d');
};
};
}

if (isset($row->{$key})) {
$row->{$key} = $cb ? call_user_func($cb, $row->{$key}) : $row->{$key};
Expand Down

0 comments on commit a47cc05

Please sign in to comment.