Skip to content

Commit 5684b64

Browse files
committed
Merge remote-tracking branch 'origin/feature/tree' into feature/tree
2 parents 830f4c0 + 3c0e9e3 commit 5684b64

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Livewire/NavigationTree.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function deleteAction()
102102
->modalHeading('Delete Navigation Item')
103103
->modalDescription('Are you sure you want to delete this navigation item?')
104104
->modalAlignment(Alignment::Center)
105-
->action(function ($arguments){
105+
->action(function ($arguments) {
106106
$this->confirmDelete($arguments['id'] ?? null);
107107
})
108108
->after(function () {
@@ -165,7 +165,7 @@ protected function getTreeQuery(): Builder
165165
protected function mutateBeforeFill($models): array
166166
{
167167
return collect($models)
168-
->map(fn (Navigation|Model $model) => [
168+
->map(fn (Navigation | Model $model) => [
169169
'id' => $model->id,
170170
'name' => $model->hasTranslation('title', $this->activeLocale) ? $model->getTranslation('title', $this->activeLocale) : $model->title,
171171
'visible' => $model->isVisibility(),
@@ -201,7 +201,7 @@ protected function getModel(): string
201201
}
202202

203203
/**
204-
* @return class-string<Resource>
204+
* @return class-string<resource>
205205
*/
206206
protected function getResource(): string
207207
{

0 commit comments

Comments
 (0)