Skip to content

Commit 98b604d

Browse files
stengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 745ec53 commit 98b604d

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

src/Commands/SeedDefaultsCommand.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ public function seedSettings(): void
6767

6868
/**
6969
* Set a translated field value for all given locales.
70-
*
71-
* @param Model $model Model that uses HasTranslations trait
72-
* @param string $field
73-
* @param string $value
74-
* @param array<string> $locales
70+
*
71+
* @param Model $model Model that uses HasTranslations trait
72+
* @param array<string> $locales
7573
*/
7674
private function setTranslatedField(Model $model, string $field, string $value, array $locales)
7775
{

src/FilamentFlexibleContentBlockPagesServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Statikbe\FilamentFlexibleContentBlockPages;
44

55
use Illuminate\Database\Eloquent\Relations\Relation;
6-
use Livewire\Livewire;
76
use Spatie\LaravelPackageTools\Package;
87
use Spatie\LaravelPackageTools\PackageServiceProvider;
98
use Statikbe\FilamentFlexibleContentBlockPages\Commands\SeedDefaultsCommand;

src/Form/Fields/Types/LinkableMenuItemType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
namespace Statikbe\FilamentFlexibleContentBlockPages\Form\Fields\Types;
44

55
use Closure;
6-
use phpDocumentor\Reflection\Types\ClassString;
76
use Statikbe\FilamentFlexibleContentBlockPages\Models\Contracts\HasMenuLabel;
8-
use Statikbe\FilamentFlexibleContentBlocks\Models\Contracts\Linkable;
97

108
class LinkableMenuItemType extends AbstractMenuItemType
119
{

src/Resources/TagResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ public static function form(Form $form): Form
7676
->preload()
7777
->default(function (Select $component) {
7878
$relationship = $component->getRelationship();
79-
if (!$relationship) {
79+
if (! $relationship) {
8080
return null;
8181
}
82-
82+
8383
/** @phpstan-ignore-next-line */
8484
return $relationship->getModel()->query()
8585
->where('is_default_type', true)->first()->id ?? null;

0 commit comments

Comments
 (0)