Skip to content

Commit

Permalink
CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobFitzp committed Sep 19, 2024
1 parent 74b0362 commit 3cfd692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Canvas.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct($name, $attribute = null, callable $resolveCallback
'toolbar' => config('nova-canvas.toolbars.default'),
'disk' => config('nova.storage_disk'),
'endpoint' => config('nova-canvas.images.endpoint'),
'path' => config('nova-canvas.images.path')
'path' => config('nova-canvas.images.path'),
]);

parent::__construct($name, $attribute, $resolveCallback);
Expand Down Expand Up @@ -56,6 +56,7 @@ public function toolbar(array|string $options): self
public function disk(string $disk, ?string $path = null): self
{
$path ??= config('nova-canvas.images.path');

return $this->withMeta(['disk' => $disk, 'path' => $path]);
}

Expand Down

0 comments on commit 3cfd692

Please sign in to comment.