From 6cefaa91797b4be9e93e1b531ec2fa53276bd33d Mon Sep 17 00:00:00 2001 From: Rudie Dirkx Date: Sun, 27 Oct 2024 21:53:11 +0100 Subject: [PATCH] FormBuilder::create() @template @return --- src/Kris/LaravelFormBuilder/FormBuilder.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Kris/LaravelFormBuilder/FormBuilder.php b/src/Kris/LaravelFormBuilder/FormBuilder.php index 119e665a..99672f9e 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 = []) {