Skip to content

Commit 8746f3b

Browse files
lee-togithub-actions[bot]
authored andcommitted
Fix styling
1 parent 813e963 commit 8746f3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Laravel/src/Fields/Relationships/RelationRepeater.php

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

55
namespace MoonShine\Laravel\Fields\Relationships;
66

7-
use Illuminate\Database\Eloquent\Relations\HasOne;
87
use Closure;
98
use Illuminate\Contracts\Database\Eloquent\Builder;
109
use Illuminate\Contracts\Support\Renderable;
1110
use Illuminate\Database\Eloquent\Model;
11+
use Illuminate\Database\Eloquent\Relations\HasOne;
1212
use Illuminate\Support\Collection;
1313
use MoonShine\Contracts\Core\DependencyInjection\FieldsContract;
1414
use MoonShine\Contracts\UI\ActionButtonContract;
@@ -279,7 +279,7 @@ protected function resolveValue(): mixed
279279
? $this->toFormattedValue()
280280
: $this->toValue();
281281

282-
if($this->getRelation() instanceof HasOne) {
282+
if ($this->getRelation() instanceof HasOne) {
283283
$this
284284
->vertical()
285285
->creatable(false);

0 commit comments

Comments
 (0)