Skip to content

Commit 64f379e

Browse files
committed
fix: remove type from method to prevent error
1 parent 38b546c commit 64f379e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/NotFound/Layout/Elements/LayoutForm.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace NotFound\Layout\Elements;
44

5-
use App\Services\Assets\Components\AbstractComponent;
65
use NotFound\Layout\Enums\LayoutRequestMethod;
76
use NotFound\Layout\Inputs\AbstractInput;
87

@@ -47,7 +46,7 @@ public function addTitle(LayoutTitle $title)
4746
}
4847

4948
// TODO: think of better solution some time
50-
public function addComponent(AbstractComponent $component): void
49+
public function addComponent($component): void
5150
{
5251
$this->items->add($component->buildAutoLayoutClass());
5352
}

0 commit comments

Comments
 (0)