Skip to content

Commit a07d1ed

Browse files
committed
Add array cast
1 parent 2650e64 commit a07d1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Console/Commands/PublishViewsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected function promptUserForWhichFilesToPublish(array $files): array
126126

127127
$prompt->on('key', static::supportTogglingAll($prompt));
128128

129-
return $prompt->prompt();
129+
return (array) $prompt->prompt();
130130
}
131131

132132
protected static function supportTogglingAll(MultiSelectPrompt $prompt): Closure

0 commit comments

Comments
 (0)