Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-zerozero committed Nov 10, 2023
1 parent 18e5ba8 commit 3425c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiscordLogger/Discord/Embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function toArray(): array
'timestamp' => $this->timestamp,
],
static function ($value) {
return !empty($value);
return is_numeric($value) || !empty($value);
});
}

Expand Down

0 comments on commit 3425c8d

Please sign in to comment.