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 f159178 commit 1161adcCopy full SHA for 1161adc
src/Html/Builder.php
@@ -272,7 +272,7 @@ public function addScript(string $view): static
272
return $this;
273
}
274
275
- public function templateData(array|\Closure $data = []): static
+ public function setTemplateData(array|\Closure $data = []): static
276
{
277
if ($data instanceof \Closure) {
278
$data = $data($this) ?? [];
0 commit comments