aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Resource/Javascript.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/classes/BigPipe/Resource/Javascript.php')
-rw-r--r--include/classes/BigPipe/Resource/Javascript.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/classes/BigPipe/Resource/Javascript.php b/include/classes/BigPipe/Resource/Javascript.php
index b549075..6a9d492 100644
--- a/include/classes/BigPipe/Resource/Javascript.php
+++ b/include/classes/BigPipe/Resource/Javascript.php
@@ -13,7 +13,7 @@ class Javascript extends \BigPipe\Resource {
#===============================================================================
# Build resource
#===============================================================================
- public function __construct(string $id, string $url) {
+ public function __construct(?string $id, string $url) {
parent::__construct($id, parent::TYPE_JAVASCRIPT, $url);
}