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 Jun 20, 2024
1 parent 0293639 commit 05e0004
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 15 deletions.
1 change: 0 additions & 1 deletion src/Actions/NestedEditAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Guava\FilamentNestedResources\Actions;

use Filament\Facades\Filament;
use Filament\Tables;
use Illuminate\Database\Eloquent\Model;

Expand Down
1 change: 0 additions & 1 deletion src/Actions/NestedViewAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Guava\FilamentNestedResources\Actions;

use Filament\Facades\Filament;
use Filament\Tables;
use Illuminate\Database\Eloquent\Model;

Expand Down
3 changes: 1 addition & 2 deletions src/Ancestor.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class Ancestor
public function __construct(
protected string $relationshipName,
protected string $inverseRelationshipName,
) {
}
) {}

public function getResource(Model $record): string
{
Expand Down
4 changes: 2 additions & 2 deletions src/Concerns/NestedRelationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace Guava\FilamentNestedResources\Concerns;

use Filament\Facades\Filament;
use Illuminate\Database\Eloquent\Model;
use Guava\FilamentNestedResources\Actions\NestedCreateAction;
use Guava\FilamentNestedResources\Actions\NestedEditAction;
use Guava\FilamentNestedResources\Actions\NestedViewAction;
use Guava\FilamentNestedResources\Actions\NestedCreateAction;
use Illuminate\Database\Eloquent\Model;

/**
* @property string $nestedResource
Expand Down
8 changes: 2 additions & 6 deletions src/NestedResourcesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ public function getId(): string
return 'guava::filament-nested-resources';
}

public function register(Filament\Panel $panel): void
{
}
public function register(Filament\Panel $panel): void {}

public function boot(Filament\Panel $panel): void
{
}
public function boot(Filament\Panel $panel): void {}

public static function make(): static
{
Expand Down
4 changes: 1 addition & 3 deletions src/NestedResourcesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ public function configurePackage(Package $package): void
;
}

public function packageBooted(): void
{
}
public function packageBooted(): void {}
}

0 comments on commit 05e0004

Please sign in to comment.