We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbbf5fb commit 3d7627cCopy full SHA for 3d7627c
src/Unlayer.php
@@ -54,7 +54,7 @@ final public function savingCallback(?callable $callback): static
54
* Set generated HTML code that can be used on details page.
55
* @param string|callable():string $html
56
*/
57
- final public function html(array | callable $html): static
+ final public function html(string | callable $html): static
58
{
59
$html = is_callable($html)
60
? $html()
0 commit comments