Skip to content

Commit c031d6b

Browse files
nikuscsgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 242374f commit c031d6b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+117
-117
lines changed

src/Core/Components/Concerns/HasErrors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait HasErrors
88
{
9-
protected string | Closure | null $errors = null;
9+
protected string|Closure|null $errors = null;
1010

11-
public function errors(string | Closure | null $errors): static
11+
public function errors(string|Closure|null $errors): static
1212
{
1313
$this->errors = $errors;
1414

src/Core/Components/Concerns/HasFavoriteCountries.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait HasFavoriteCountries
88
{
9-
protected array | Closure $favoriteCountries = ['US', 'GB', 'PT', 'FR', 'DE'];
9+
protected array|Closure $favoriteCountries = ['US', 'GB', 'PT', 'FR', 'DE'];
1010

11-
public function favoriteCountries(array | Closure $countries = ['US', 'GB', 'PT', 'FR', 'DE']): static
11+
public function favoriteCountries(array|Closure $countries = ['US', 'GB', 'PT', 'FR', 'DE']): static
1212
{
1313
$this->favoriteCountries = $countries;
1414

src/Core/Components/Concerns/HasFeedback.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait HasFeedback
88
{
9-
protected string | Closure | null $feedback = null;
9+
protected string|Closure|null $feedback = null;
1010

11-
public function feedback(string | Closure | null $feedback): static
11+
public function feedback(string|Closure|null $feedback): static
1212
{
1313
$this->feedback = $feedback;
1414

src/Core/Components/Concerns/HasHTMLAttributes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait HasHTMLAttributes
88
{
9-
protected Closure | array $attributes = [];
9+
protected Closure|array $attributes = [];
1010

11-
public function attributes(array | Closure $attributes): static
11+
public function attributes(array|Closure $attributes): static
1212
{
1313
$this->attributes = $attributes;
1414

src/Core/Components/Concerns/HasLabel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
trait HasLabel
99
{
10-
protected string | Closure | null $label = null;
10+
protected string|Closure|null $label = null;
1111

1212
protected bool $shouldTranslateLabel = false;
1313

14-
public function label(string | Closure | null $label): static
14+
public function label(string|Closure|null $label): static
1515
{
1616
$this->label = $label;
1717

src/Core/Components/Concerns/HasOptions.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@
77

88
trait HasOptions
99
{
10-
protected array | Closure $options = [];
10+
protected array|Closure $options = [];
1111

12-
protected string | Closure $optionTextAttribute = 'text';
12+
protected string|Closure $optionTextAttribute = 'text';
1313

14-
protected string | Closure $optionLabelAttribute = 'value';
14+
protected string|Closure $optionLabelAttribute = 'value';
1515

16-
public function options(array | Closure $optionsOrClosure): static
16+
public function options(array|Closure $optionsOrClosure): static
1717
{
1818
$this->options = Option::make()->fromArray($this->evaluate($optionsOrClosure));
1919

2020
return $this;
2121
}
2222

23-
public function optionTextAttribute(string | Closure $optionTextAttribute): static
23+
public function optionTextAttribute(string|Closure $optionTextAttribute): static
2424
{
2525
$this->optionTextAttribute = $optionTextAttribute;
2626

2727
return $this;
2828
}
2929

30-
public function optionLabelAttribute(string | Closure $optionLabelAttribute): static
30+
public function optionLabelAttribute(string|Closure $optionLabelAttribute): static
3131
{
3232
$this->optionLabelAttribute = $optionLabelAttribute;
3333

src/Core/Components/Concerns/HasPlaceholder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66

77
trait HasPlaceholder
88
{
9-
protected string | Closure | null $placeholder = null;
9+
protected string|Closure|null $placeholder = null;
1010

11-
public function placeholder(string | Closure | null $placeholder): static
11+
public function placeholder(string|Closure|null $placeholder): static
1212
{
1313
$this->placeholder = $placeholder;
1414

1515
return $this;
1616
}
1717

18-
public function getPlaceholder(): string | null
18+
public function getPlaceholder(): string|null
1919
{
2020
return $this->evaluate($this->placeholder);
2121
}

src/Core/Confirmation/Concerns/CanBeEnabledOrDisabled.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait CanBeEnabledOrDisabled
88
{
9-
protected bool | Closure $isEnabled = true;
9+
protected bool|Closure $isEnabled = true;
1010

11-
public function enabled(bool | Closure $condition = true): static
11+
public function enabled(bool|Closure $condition = true): static
1212
{
1313
$this->isEnabled = $condition;
1414

src/Core/Confirmation/Concerns/CanBeRaw.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait CanBeRaw
88
{
9-
protected bool | Closure $isRaw = false;
9+
protected bool|Closure $isRaw = false;
1010

11-
public function raw(bool | Closure $condition = true): static
11+
public function raw(bool|Closure $condition = true): static
1212
{
1313
$this->isRaw = $condition;
1414

src/Core/Confirmation/Concerns/HasButtons.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
trait HasButtons
88
{
9-
protected null | string | Closure $confirmButtonLabel = 'Ok, got it';
9+
protected null|string|Closure $confirmButtonLabel = 'Ok, got it';
1010

11-
protected null | string | Closure $cancelButtonLabel = 'Nah, cancel';
11+
protected null|string|Closure $cancelButtonLabel = 'Nah, cancel';
1212

1313
public function buttons(string|null|Closure $confirmButtonText = 'Ok, got it', string|null|Closure $cancelButtonText = 'Nah, cancel'): static
1414
{

0 commit comments

Comments
 (0)