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 a3d6eb3 commit 064306cCopy full SHA for 064306c
src/Html/Editor/Fields/Field.php
@@ -393,7 +393,7 @@ public function className(string $className): static
393
*
394
* @return $this
395
*/
396
- public function required(bool $required = true) : Field
+ public function required(bool $required = true) : static
397
{
398
/** @var Field $this */
399
$requiredFieldHtml = $required ? '<span class="text-red-500">*</span>' : '';
0 commit comments