Skip to content

Commit 6c8abb6

Browse files
committed
Merge branch '6.x' into 6.x-5.11
2 parents 3e4b6c0 + f5431b7 commit 6c8abb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Http/ViewModels/UserPasswordViewModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private function methodActions(AuthMethodInterface $method): array
6666
'icon' => $item['icon'] ?? null,
6767
'action' => $item['action'] ?? null,
6868
'requireElevatedSession' => (bool) ($item['requireElevatedSession'] ?? false),
69-
'download' => isset($item['action']) && str_contains($item['action'], 'download'),
69+
'download' => isset($item['action']) && str_contains((string) $item['action'], 'download'),
7070
])
7171
->values()
7272
->all();

0 commit comments

Comments
 (0)