We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getProvider
getProviders
1 parent d83e296 commit 5c0a242Copy full SHA for 5c0a242
library/Reporting/Hook/EmailProviderHook.php
@@ -16,7 +16,7 @@ abstract public function getContactEmails();
16
/**
17
* @return array
18
*/
19
- final public static function getProvider(): array
+ final public static function getProviders(): array
20
{
21
return Hook::all('Reporting/EmailProvider');
22
}
library/Reporting/Web/Forms/SendForm.php
@@ -45,8 +45,7 @@ protected function assemble()
45
46
if ($radio->getValue('source_radio') === 'contacts') {
47
$emails = [null => 'Select Contacts'];
48
- foreach (EmailProviderHook::getProvider() as $provider) {
49
- var_dump($provider);
+ foreach (EmailProviderHook::getProviders() as $provider) {
50
$emails = array_merge($emails, $provider->getContactEmails());
51
52
0 commit comments