Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
howdu authored and github-actions[bot] committed Sep 24, 2024
1 parent 205bfc5 commit e33266e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/forms/resources/js/components/file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export default function fileUploadFormComponent({
.map((file) =>
file.source instanceof File
? file.serverId
: this.uploadedFileIndex[file.source] ?? null,
: (this.uploadedFileIndex[file.source] ?? null),
) // file.serverId is null for a file that is not yet uploaded
.filter((fileKey) => fileKey)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
if (
(@js($this instanceof \Filament\Actions\Contracts\HasActions) ? $wire.mountedActions?.length ?? 0 : 0) &&
(@js($this instanceof \Filament\Actions\Contracts\HasActions) ? ($wire.mountedActions?.length ?? 0) : 0) &&
!$wire?.__instance?.effects?.redirect
) {
event.preventDefault()
Expand Down
2 changes: 1 addition & 1 deletion packages/tables/src/Filters/SelectFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function multiple(bool | Closure $condition = true): static
}

/**
* @param bool | array<string> | Closure $condition
* @param bool | array<string> | Closure $condition
*/
public function searchable(bool | array | Closure $condition = true): static
{
Expand Down

0 comments on commit e33266e

Please sign in to comment.