Skip to content

Commit 415903c

Browse files
committed
used nette/utils 3.2
1 parent 88f1d16 commit 415903c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Http/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function start(): void
104104
}
105105

106106
$this->initialize();
107-
$this->onStart($this);
107+
Nette\Utils\Arrays::invoke($this->onStart, $this);
108108
}
109109

110110

@@ -330,7 +330,7 @@ public function clean(): void
330330
return;
331331
}
332332

333-
$this->onBeforeWrite($this);
333+
Nette\Utils\Arrays::invoke($this->onBeforeWrite, $this);
334334

335335
$nf = &$_SESSION['__NF'];
336336
foreach ($nf['META'] ?? [] as $name => $foo) {

0 commit comments

Comments
 (0)