Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsam726 authored and github-actions[bot] committed Aug 25, 2022
1 parent 2d951fd commit 8b0d2b4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Flatpickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Flatpickr extends Field
protected bool $multiplePicker = false;

protected bool $altInput = true;

protected array $config = [];

protected ?string $altFormat = 'F j, Y';
Expand Down Expand Up @@ -49,17 +49,18 @@ public function isWeekSelect(): bool
{
return $this->weekSelect;
}

/**
* @param array $config
* @param array $config
* @return Flatpickr
*/
public function config(array|\Closure $config): Flatpickr
{
$this->config = $config;

return $this;
}

/**
* @return array
*/
Expand Down

0 comments on commit 8b0d2b4

Please sign in to comment.