Skip to content

Commit 5af5518

Browse files
MercuryKojofashxp
andauthored
removed return value declaration from getProviderHandler (#181)
* removed return value declaration from getProviderHandler since prividerHandler can be null this will throw an exception in case of null * Update src/Event/Newsletter/Mailchimp/TemplateExportResolveProviderHandlerEvent.php Co-authored-by: Christian Fasching <[email protected]> Co-authored-by: Christian Fasching <[email protected]>
1 parent 12e659b commit 5af5518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event/Newsletter/Mailchimp/TemplateExportResolveProviderHandlerEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getName()
4949
/**
5050
* @return Mailchimp|null
5151
*/
52-
public function getProviderHandler(): Mailchimp
52+
public function getProviderHandler(): ?Mailchimp
5353
{
5454
return $this->providerHandler;
5555
}

0 commit comments

Comments
 (0)