@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Html; |
4 | 4 | |
5 | +use Illuminate\Contracts\Support\Htmlable; |
|
5 | 6 | use Illuminate\Support\Collection; |
6 | 7 | use Illuminate\Support\HtmlString; |
7 | -use Spatie\Html\Exceptions\MissingTag; |
|
8 | -use Spatie\Html\Exceptions\InvalidHtml; |
|
9 | 8 | use Spatie\Html\Exceptions\InvalidChild; |
10 | -use Illuminate\Contracts\Support\Htmlable; |
|
9 | +use Spatie\Html\Exceptions\InvalidHtml; |
|
10 | +use Spatie\Html\Exceptions\MissingTag; |
|
11 | 11 | |
12 | 12 | abstract class BaseElement implements Htmlable, HtmlElement |
13 | 13 | { |
@@ -2,21 +2,21 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Html; |
4 | 4 | |
5 | -use Spatie\Html\Elements\A; |
|
5 | +use Illuminate\Contracts\Support\Htmlable; |
|
6 | 6 | use Illuminate\Http\Request; |
7 | +use Spatie\Html\Elements\A; |
|
8 | +use Spatie\Html\Elements\Button; |
|
7 | 9 | use Spatie\Html\Elements\Div; |
10 | +use Spatie\Html\Elements\Element; |
|
11 | +use Spatie\Html\Elements\Fieldset; |
|
8 | 12 | use Spatie\Html\Elements\Form; |
9 | -use Spatie\Html\Elements\Span; |
|
10 | 13 | use Spatie\Html\Elements\Input; |
11 | 14 | use Spatie\Html\Elements\Label; |
12 | -use Spatie\Html\Elements\Button; |
|
13 | 15 | use Spatie\Html\Elements\Legend; |
14 | 16 | use Spatie\Html\Elements\Option; |
15 | 17 | use Spatie\Html\Elements\Select; |
16 | -use Spatie\Html\Elements\Element; |
|
17 | -use Spatie\Html\Elements\Fieldset; |
|
18 | +use Spatie\Html\Elements\Span; |
|
18 | 19 | use Spatie\Html\Elements\Textarea; |
19 | -use Illuminate\Contracts\Support\Htmlable; |
|
20 | 20 | |
21 | 21 | class Html |
22 | 22 | { |