Skip to content

Commit 2d83fad

Browse files
DRaichevsmnandre
andauthored
Update src/Turbo/src/Helper/TurboStream.php
Co-authored-by: Simon André <[email protected]>
1 parent 488e061 commit 2d83fad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Turbo/src/Helper/TurboStream.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ public static function refresh(?string $requestId = null): string
8888

8989
/**
9090
* Custom action and attributes.
91-
* When passing attributes use null value to for boolean attributes (e.g. disabled).
91+
*
92+
* Set boolean attributes (e.g., `disabled`) by providing the attribute name as key with `null` as value.
9293
*
9394
* @param array<string, string|int|float|null> $attr
9495
*/

0 commit comments

Comments
 (0)