aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Resource.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/classes/BigPipe/Resource.php')
-rw-r--r--include/classes/BigPipe/Resource.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/classes/BigPipe/Resource.php b/include/classes/BigPipe/Resource.php
index 92b61ef..b6f3b8c 100644
--- a/include/classes/BigPipe/Resource.php
+++ b/include/classes/BigPipe/Resource.php
@@ -33,7 +33,7 @@ abstract class Resource extends Item {
#===============================================================================
# Build resource
#===============================================================================
- public function __construct(string $id, int $type, string $url) {
+ public function __construct(?string $id, int $type, string $url) {
$this->id = $id ?? spl_object_hash($this);
$this->type = $type;
$this->url = $url;