Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 2f145c3

Browse files
committed
Fixing type-hinting for Ardent model as PHPStorm would misunderstand the 'use' call
1 parent 4f303f6 commit 2f145c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Laravalid/FormBuilder.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use LaravelArdent\Laravalid\Converter\Base\Converter;
2424
use Collective\Html\HtmlBuilder;
2525
use Illuminate\Routing\UrlGenerator;
26-
use LaravelArdent\Ardent\Ardent;
2726

2827
class FormBuilder extends \Collective\Html\FormBuilder
2928
{
@@ -86,8 +85,8 @@ public function open(array $options = [], $rules = null)
8685

8786
/**
8887
* Create a new model based form builder.
89-
* @param Ardent $model An Ardent model instance. Validation rules will be taken from it
90-
* @param array $options
88+
* @param \LaravelArdent\Ardent\Ardent $model An Ardent model instance. Validation rules will be taken from it
89+
* @param array $options
9190
* @return string
9291
* @see Collective\Html\FormBuilder
9392
*/

0 commit comments

Comments
 (0)