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

Commit 3e17f51

Browse files
committed
Update UIKit.php
1 parent 8950b15 commit 3e17f51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/UIKit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static public function __callStatic(string $element, array $elements)
102102
return new $class($args[0], $args[1]);
103103
break;
104104

105-
case 'form' || 'header':
105+
case 'header':
106106
$main = $args[0];
107107
unset($args[0]);
108108
return new $class($main, ...$args);
@@ -142,7 +142,7 @@ static public function __callStatic(string $element, array $elements)
142142

143143
private const CLASSES = [
144144
'webView' => UIKit\Elements\Pages\WebView::class,
145-
'form' => UIKit\Elements\Forms\Form::class,
145+
// 'form' => UIKit\Elements\Forms\Form::class,
146146
'listWith' => UIKit\Elements\Simple\SimpleList::class,
147147
'tableWith' => UIKit\Elements\Simple\SimpleTable::class,
148148
'anchor' => UIKit\Elements\Simple\Anchor::class,

0 commit comments

Comments
 (0)