Skip to content

Commit 3d7627c

Browse files
committed
Fix type issue
1 parent cbbf5fb commit 3d7627c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Unlayer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ final public function savingCallback(?callable $callback): static
5454
* Set generated HTML code that can be used on details page.
5555
* @param string|callable():string $html
5656
*/
57-
final public function html(array | callable $html): static
57+
final public function html(string | callable $html): static
5858
{
5959
$html = is_callable($html)
6060
? $html()

0 commit comments

Comments
 (0)