We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93324af commit 2f65f08Copy full SHA for 2f65f08
1 file changed
src/Illuminate/Mail/Mailer.php
@@ -284,7 +284,7 @@ protected function parseView(string|array $view): array
284
// array as is, since must should contain both views with numeric keys.
285
if (is_array($view) && isset($view[0]))
286
{
287
- return [$view[0], $view[1] ?? null];
+ return $view;
288
}
289
290
// If the view is an array, but doesn't contain numeric keys, we will assume
0 commit comments