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 20016da commit 96e9e0cCopy full SHA for 96e9e0c
src/ResponseFactory.php
@@ -88,8 +88,9 @@ public function lazy(callable $callback): LazyProp
88
/**
89
* @param string $component
90
* @param array|Arrayable $props
91
+ * @return Response
92
*/
- public function render($component, $props = []): Response
93
+ public function render(string $component, $props = []): Response
94
{
95
if ($props instanceof Arrayable) {
96
$props = $props->toArray();
0 commit comments