Skip to content

Commit

Permalink
🚨 Fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Jun 22, 2024
1 parent cfc54fc commit 63244aa
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 18 deletions.
3 changes: 1 addition & 2 deletions src/Components/BaseLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public function __construct(
public ?ComponentSlot $head = null,
public ?ComponentSlot $body = null,
public array $data = [],
) {
}
) {}

/**
* The properties / methods that should not be exposed to the component template.
Expand Down
3 changes: 1 addition & 2 deletions src/Components/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ public function __construct(
public string $stack = 'default',
public string $tag = 'p',
public ?string $icon = null
) {
}
) {}
}
3 changes: 1 addition & 2 deletions src/Components/Errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ public function __construct(
public string $tag = 'ul',
public string $errorTag = 'li',
public ?string $icon = null,
) {
}
) {}
}
3 changes: 1 addition & 2 deletions src/Components/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ class Label extends Component
public function __construct(
public ?string $text = null,
public ?string $icon = null,
) {
}
) {}
}
3 changes: 1 addition & 2 deletions src/Components/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ public function __construct(
public array $list = [],
public bool $ordered = false,
public array|ComponentAttributeBag $itemAttributes = [],
) {
}
) {}
}
3 changes: 1 addition & 2 deletions src/Components/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ public function __construct(
public ?string $icon = null,
public bool $escape = false,
public bool $translate = false,
) {
}
) {}
}
4 changes: 1 addition & 3 deletions src/Contracts/IsCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

use Illuminate\View\Compilers\CompilerInterface as BaseCompilerContract;

interface IsCompiler extends BaseCompilerContract
{
}
interface IsCompiler extends BaseCompilerContract {}
4 changes: 1 addition & 3 deletions src/TemplateCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@
use Illuminate\View\Compilers\BladeCompiler;
use Sikessem\UI\Contracts\IsTemplateCompiler;

class TemplateCompiler extends BladeCompiler implements IsTemplateCompiler
{
}
class TemplateCompiler extends BladeCompiler implements IsTemplateCompiler {}

0 comments on commit 63244aa

Please sign in to comment.