Skip to content

Commit

Permalink
style: fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-frey authored and github-actions[bot] committed Oct 10, 2023
1 parent 8e87545 commit 9172995
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 29 deletions.
3 changes: 2 additions & 1 deletion resources/lang/cs/step.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

return [
'cancel' => 'Zrušit',

Expand All @@ -9,4 +10,4 @@
'complete' => 'Dokončit',

'hint' => '[0,1]:current z :total|[2,4]:current ze :total|:current z :total',
];
];
3 changes: 2 additions & 1 deletion resources/lang/de/step.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

return [
'cancel' => 'Abbrechen',

Expand All @@ -9,4 +10,4 @@
'complete' => 'Abschließen',

'hint' => ':current von :total',
];
];
3 changes: 2 additions & 1 deletion resources/lang/en/step.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

return [
'cancel' => 'Cancel',

Expand All @@ -9,4 +10,4 @@
'complete' => 'Complete',

'hint' => ':current of :total',
];
];
6 changes: 3 additions & 3 deletions src/ComponentContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
class ComponentContainer extends ViewComponent
{
use Concerns\BelongsToLivewire;
use Concerns\HasLifecycleEvents;
use Concerns\CanHaveFormCallbacks;
use Concerns\HasName;
use Concerns\HasActions;
use Concerns\HasLabel;
use Concerns\HasLifecycleEvents;
use Concerns\HasName;
use Concerns\HasSteps;
use Concerns\HasActions;
use HasColor;

protected string $view = 'tutorials::component-container';
Expand Down
1 change: 0 additions & 1 deletion src/Concerns/BelongsToParentComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Guava\Tutorials\Concerns;


use Filament\Support\Components\Component;

trait BelongsToParentComponent
Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/HasState.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function getStatePath(string $key): string

return implode('.', [
'mountedTutorialData',
$key
$key,
]);

$pathComponents = [];
Expand Down
1 change: 1 addition & 0 deletions src/Concerns/InteractsWithTutorialActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Filament\Support\Exceptions\Halt;
use Illuminate\Support\Arr;
use InvalidArgumentException;

use function Livewire\store;

trait InteractsWithTutorialActions
Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/InteractsWithTutorials.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

trait InteractsWithTutorials
{
use ResolvesDynamicLivewireProperties;
use HandlesTutorialState;
use ResolvesDynamicLivewireProperties;

/**
* @var array<string, Tutorial>
Expand Down
2 changes: 1 addition & 1 deletion src/Filament/Actions/NextStepAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected function setUp(): void

$this->label(__('tutorials::step.next'));

// $this->keyBindings('tab');
// $this->keyBindings('tab');

$this->action('nextTutorialStep()');
}
Expand Down
1 change: 0 additions & 1 deletion src/Filament/Actions/PreviousStepAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ protected function setUp(): void
$this->label(__('tutorials::step.previous'));
$this->keyBindings('shift+tab');


$this->action('previousTutorialStep()');
}

Expand Down
3 changes: 1 addition & 2 deletions src/Selectors/ComponentSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class ComponentSelector extends FieldSelector
{

}
}
3 changes: 1 addition & 2 deletions src/Selectors/FormSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class FormSelector extends FieldSelector
{

}
}
2 changes: 0 additions & 2 deletions src/Selectors/Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class Selector implements Wireable
{

protected string $selector;

public function __construct(string $selector)
Expand Down Expand Up @@ -45,5 +44,4 @@ public static function fromLivewire($value): static

return static::make($selector);
}

}
3 changes: 1 addition & 2 deletions src/Steps/DialogStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class DialogStep
{

}
}
16 changes: 8 additions & 8 deletions src/Steps/Step.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ class Step extends ViewComponent
{
use Concerns\BelongsToContainer;
use Concerns\CanBeHidden;
use Concerns\HasKey;
use Concerns\HasName;
use Concerns\HasLabel;
use Concerns\HasHint;
use Concerns\HasDescription;
use Concerns\CanBeInteracted;
use Concerns\RequiresAction;
use Concerns\HasActions;
use Concerns\CanHaveFormCallbacks;
use Concerns\CanPassThrough;
use Concerns\CanInterceptClick;
use Concerns\CanPassThrough;
use Concerns\HasActions;
use Concerns\HasDescription;
use Concerns\HasHint;
use Concerns\HasKey;
use Concerns\HasLabel;
use Concerns\HasName;
use Concerns\RequiresAction;
use HasColor;

protected string $view = 'tutorials::step';
Expand Down
3 changes: 1 addition & 2 deletions src/Steps/TargetStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class TargetStep extends Step
{

}
}

0 comments on commit 9172995

Please sign in to comment.