Skip to content

Commit

Permalink
Update Document.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdordoy committed Nov 3, 2024
1 parent 1092906 commit eac2e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function elements(): HasMany
return $this->hasMany(Element::class);
}

public function render(bool $local = false): HtmlString
public function render(): HtmlString

Check failure on line 36 in src/Models/Document.php

View workflow job for this annotation

GitHub Actions / phpstan

Return type (Illuminate\Support\HtmlString) of method JamesDordoy\HTMLable\Models\Document::render() should be compatible with return type (string) of method Illuminate\Contracts\Support\Renderable::render()
{
$rootElement = $this->getRootElement();
$docType = $this->getDocType();
Expand Down

0 comments on commit eac2e58

Please sign in to comment.