Skip to content

Commit

Permalink
style: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
epessine committed Feb 21, 2024
1 parent b97cbd2 commit 9dca1bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Charts/ChartJs.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function options(iterable $options, bool $overwrite = false): static
* @param iterable<int|iterable<int>> $data
* @param iterable<mixed, mixed> $options
*/
public function series(iterable $data, ?Type $type = null, iterable $options = []): static
public function series(iterable $data, Type $type = null, iterable $options = []): static
{
$series = ['data' => [...$data], ...$options];

Expand Down
2 changes: 1 addition & 1 deletion src/Traits/IsFluent.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ abstract public function type(Type $type): static;

abstract public function options(iterable $options, bool $overwrite = false): static;

abstract public function series(iterable $data, ?Type $type = null, iterable $options = []): static;
abstract public function series(iterable $data, Type $type = null, iterable $options = []): static;
}

0 comments on commit 9dca1bc

Please sign in to comment.