Skip to content

Commit 2f65f08

Browse files
committed
revert to return just $view as is
1 parent 93324af commit 2f65f08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Mail/Mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ protected function parseView(string|array $view): array
284284
// array as is, since must should contain both views with numeric keys.
285285
if (is_array($view) && isset($view[0]))
286286
{
287-
return [$view[0], $view[1] ?? null];
287+
return $view;
288288
}
289289

290290
// If the view is an array, but doesn't contain numeric keys, we will assume

0 commit comments

Comments
 (0)