diff options
Diffstat (limited to 'include/classes/BigPipe/Resource')
-rw-r--r-- | include/classes/BigPipe/Resource/Javascript.php | 2 | ||||
-rw-r--r-- | include/classes/BigPipe/Resource/Stylesheet.php | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/include/classes/BigPipe/Resource/Stylesheet.php b/include/classes/BigPipe/Resource/Stylesheet.php index a5998df..9f4afba 100644 --- a/include/classes/BigPipe/Resource/Stylesheet.php +++ b/include/classes/BigPipe/Resource/Stylesheet.php @@ -13,7 +13,7 @@ class Stylesheet extends \BigPipe\Resource { #=============================================================================== # Build resource #=============================================================================== - public function __construct(string $id, string $url) { + public function __construct(?string $id, string $url) { parent::__construct($id, parent::TYPE_STYLESHEET, $url); } |