Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyBoy49z authored and github-actions[bot] committed Jun 25, 2024
1 parent a88e789 commit d5fdff0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 22 deletions.
4 changes: 1 addition & 3 deletions src/Components/BtnGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace Step2dev\LazyUI\Components;

class BtnGroup extends Join
{
}
class BtnGroup extends Join {}
3 changes: 1 addition & 2 deletions src/Components/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ public function __construct(
public string $avatar = '',
public string $time = '',
public string $position = 'start'
) {
}
) {}

public function render(): Closure|View
{
Expand Down
4 changes: 1 addition & 3 deletions src/Components/Choices.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

class Choices extends LazyComponent
{
public function __construct()
{
}
public function __construct() {}

/**
* Get the view / contents that represent the component.
Expand Down
4 changes: 1 addition & 3 deletions src/Components/Form/FormToggle.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

class FormToggle extends LazyComponent
{
public function __construct(public string $label = '')
{
}
public function __construct(public string $label = '') {}

public function render(): \Closure|View
{
Expand Down
3 changes: 1 addition & 2 deletions src/Components/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ class Image extends LazyComponent
public function __construct(
protected ?string $src = '',
protected ?string $alt = ''
) {
}
) {}

public function render(): \Closure|View
{
Expand Down
4 changes: 1 addition & 3 deletions src/Components/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

class Link extends LazyComponent
{
public function __construct(public string $label = '')
{
}
public function __construct(public string $label = '') {}

public function render(): Closure
{
Expand Down
4 changes: 1 addition & 3 deletions src/Components/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

class Menu extends LazyComponent
{
public function __construct(public bool $join = true)
{
}
public function __construct(public bool $join = true) {}

/**
* Get the view / contents that represent the component.
Expand Down
4 changes: 1 addition & 3 deletions src/Components/Tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

class Tabs extends LazyComponent
{
public function __construct(public string $type = '', public string $size = '')
{
}
public function __construct(public string $type = '', public string $size = '') {}

public function allowedTabType(): array
{
Expand Down

0 comments on commit d5fdff0

Please sign in to comment.