Skip to content

Commit 064306c

Browse files
authored
fix: return type to static
1 parent a3d6eb3 commit 064306c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html/Editor/Fields/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public function className(string $className): static
393393
*
394394
* @return $this
395395
*/
396-
public function required(bool $required = true) : Field
396+
public function required(bool $required = true) : static
397397
{
398398
/** @var Field $this */
399399
$requiredFieldHtml = $required ? '<span class="text-red-500">*</span>' : '';

0 commit comments

Comments
 (0)