diff --git a/src/Kris/LaravelFormBuilder/FormBuilder.php b/src/Kris/LaravelFormBuilder/FormBuilder.php index 119e665..99672f9 100644 --- a/src/Kris/LaravelFormBuilder/FormBuilder.php +++ b/src/Kris/LaravelFormBuilder/FormBuilder.php @@ -56,10 +56,11 @@ public function fireEvent($event) /** * Create a Form instance. * - * @param string $formClass The name of the class that inherits \Kris\LaravelFormBuilder\Form. - * @param array $options|null - * @param array $data|null - * @return Form + * @template T + * @param class-string $formClass + * @param array $options + * @param array $data + * @return T */ public function create($formClass, array $options = [], array $data = []) {