We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cd5c07 commit 47b9c4bCopy full SHA for 47b9c4b
src/Helpers/email_helper.php
@@ -17,6 +17,8 @@
17
/**
18
* Provides convenient access to the CodeIgniter Email class.
19
*
20
+ * @param array<string, mixed> $overrides Email preferences to override.
21
+ *
22
* @internal
23
*/
24
function emailer(array $overrides = []): Email
@@ -46,7 +48,7 @@ function emailer(array $overrides = []): Email
46
48
];
47
49
50
if ($overrides !== []) {
- $config = array_merge($overrides, $config);
51
+ $config = array_merge($config, $overrides);
52
}
53
54
/** @var Email $email */
0 commit comments