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 0837e26 commit 6cefaa9Copy full SHA for 6cefaa9
src/Kris/LaravelFormBuilder/FormBuilder.php
@@ -56,10 +56,11 @@ public function fireEvent($event)
56
/**
57
* Create a Form instance.
58
*
59
- * @param string $formClass The name of the class that inherits \Kris\LaravelFormBuilder\Form.
60
- * @param array $options|null
61
- * @param array $data|null
62
- * @return Form
+ * @template T
+ * @param class-string<T> $formClass
+ * @param array<string, mixed> $options
+ * @param array<string, mixed> $data
63
+ * @return T
64
*/
65
public function create($formClass, array $options = [], array $data = [])
66
{
0 commit comments