aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Pagelet.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/classes/BigPipe/Pagelet.php')
-rw-r--r--include/classes/BigPipe/Pagelet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/classes/BigPipe/Pagelet.php b/include/classes/BigPipe/Pagelet.php
index daca9df..d6f2103 100644
--- a/include/classes/BigPipe/Pagelet.php
+++ b/include/classes/BigPipe/Pagelet.php
@@ -35,7 +35,7 @@ class Pagelet extends Item {
const PHASE_LOADJS = 3; # After all the JS resources have been loaded
const PHASE_DONE = 4; # After the static JS code has been executed
- public function __construct(string $id = NULL, int $priority = self::PRIORITY_NORMAL) {
+ public function __construct(?string $id = NULL, int $priority = self::PRIORITY_NORMAL) {
$this->id = $id ?? spl_object_hash($this);
$this->priority = $priority;