Skip to content

Commit

Permalink
Merge pull request #14 from adrian1207/master
Browse files Browse the repository at this point in the history
Syntax error fix for PHP 8.0
  • Loading branch information
inkvizytor authored Dec 2, 2020
2 parents 9bbce6a + a8197bc commit 7356b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controls/Exclusive/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ public function render()
], $this->config));

return $this->html()->tag('input', array_merge($this->getOptions(), [
'type' => $this->timeOnly ? 'time' : $this->withTime() ? 'datetime' : 'date',
'type' => $this->timeOnly ? 'time' : ($this->withTime() ? 'datetime' : 'date'),
'name' => $this->name,
'value' => $this->binder()->value($this->key($this->name), $this->value)
]));
}
}
}

0 comments on commit 7356b5d

Please sign in to comment.