Skip to content

Commit

Permalink
fixed empty datetime bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricio872 committed Apr 14, 2021
1 parent 5b7fec1 commit c6be65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Ask.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private function getDefaultValue(RegisterCommand $command)
foreach ($command as $annotation => $value) {
if (
substr($annotation, 0, strlen('value')) == 'value' &&
$value != null
$value !== null
) {
return $this->processValue($value, $annotation);
}
Expand Down

0 comments on commit c6be65b

Please sign in to comment.