Skip to content

Commit

Permalink
Update signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnadoO committed May 21, 2020
1 parent e83a991 commit e6efb50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twig/MondialRelayTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ final class MondialRelayTwigExtension extends AbstractExtension implements Globa
* @var string
*/
private $customerCode;

public function __construct(string $customerCode)
{
$this->customerCode = $customerCode;
}
/**
* @inheritDoc
*/
public function getGlobals()
public function getGlobals(): array
{
return [
'ernadoo_mondial_relay' => [
Expand Down

0 comments on commit e6efb50

Please sign in to comment.