Skip to content

Commit dc0b4cc

Browse files
committed
Enable auto-generated recipe - Fix #15
1 parent 53fd83b commit dc0b4cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "bentools/webpush-bundle",
3+
"type": "symfony-bundle",
34
"description": "Send push notifications through Web Push Protocol to your Symfony users.",
45
"license": "MIT",
56
"authors": [

src/Twig/WebPushTwigExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ final class WebPushTwigExtension extends AbstractExtension implements GlobalsInt
1212
*/
1313
private $publicKey;
1414

15-
public function __construct(string $publicKey)
15+
public function __construct(?string $publicKey)
1616
{
1717
$this->publicKey = $publicKey;
1818
}

0 commit comments

Comments
 (0)