Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Oct 2, 2024
1 parent 94b284f commit 699cf28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Traits/Fields/OnlyLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function isOnlyLink(): bool

public function getOnlyLinkRelation(): string
{
if(!is_null($this->linkRelation)) {
if (! is_null($this->linkRelation)) {
return $this->linkRelation;
}

Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/MoonShineRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use MoonShine\Fields\Relationships\HasMany;
use MoonShine\Models\MoonshineUser;
use MoonShine\MoonShineRequest;
use MoonShine\Tests\Fixtures\Resources\TestCommentResource;
use MoonShine\Tests\Fixtures\Resources\TestImageResource;
use MoonShine\Tests\Fixtures\Resources\TestResourceBuilder;

Expand Down Expand Up @@ -57,4 +56,3 @@
->and(moonshineRequest()->getParentRelationName())
->toBe((string) str($relationName)->camel());
})->with(['01J95W9RR73FH93AFCP0YP2VP1', 'ab193d8c-09d5-4185-a62d-d93ee1dd3bfe']);

0 comments on commit 699cf28

Please sign in to comment.