Skip to content

Commit

Permalink
fixlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mh-Asmi committed Nov 26, 2024
1 parent 6974321 commit 8277aeb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ public function __construct(
?string $icon,
int $priority,
?array $role,
array $translations,
?string $defaultLanguage = 'en',
array $availableanguages = [],
array $translations
array $availableanguages = []
) {
$this->parentId = $parentId;
$this->tag = $tag;
Expand Down Expand Up @@ -115,9 +115,9 @@ public static function createFromRequest(CategoryRequest $request): self
$request->input('icon'),
(int) $request->input('priority'),
$request->input('role'),
$request->input('translations')??[],
self::DEFAULT_LANUGAGE,
[],
$request->input('translations')??[]
[]
);
}

Expand Down

0 comments on commit 8277aeb

Please sign in to comment.