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 72527fe commit 606d6e4Copy full SHA for 606d6e4
src/LiveComponent/README.md
@@ -117,7 +117,7 @@ use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;
117
#[AsTwigComponent('random_number')]
118
class RandomNumberComponent
119
{
120
- public function getRandomNumber(): string
+ public function getRandomNumber(): int
121
122
return rand(0, 1000);
123
}
@@ -202,7 +202,7 @@ class RandomNumberComponent
202
#[LiveProp]
203
public int $max = 1000;
204
205
206
207
return rand($this->min, $this->max);
208
0 commit comments