Skip to content

Commit

Permalink
Enable auto-generated recipe - Fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Sep 30, 2019
1 parent 53fd83b commit dc0b4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "bentools/webpush-bundle",
"type": "symfony-bundle",
"description": "Send push notifications through Web Push Protocol to your Symfony users.",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Twig/WebPushTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class WebPushTwigExtension extends AbstractExtension implements GlobalsInt
*/
private $publicKey;

public function __construct(string $publicKey)
public function __construct(?string $publicKey)
{
$this->publicKey = $publicKey;
}
Expand Down

0 comments on commit dc0b4cc

Please sign in to comment.