Skip to content

Commit

Permalink
used nette/utils 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 24, 2022
1 parent 088643e commit 0c70c95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions composer.json
Expand Up @@ -16,14 +16,14 @@
],
"require": {
"php": ">=7.2 <8.3",
"nette/utils": "^3.1"
"nette/utils": "^3.2.1 || ~4.0.0"
},
"require-dev": {
"nette/di": "^3.0",
"nette/tester": "^2.0",
"nette/tester": "^2.4",
"nette/security": "^3.0",
"tracy/tracy": "^2.4",
"phpstan/phpstan": "^0.12"
"tracy/tracy": "^2.8",
"phpstan/phpstan": "^1.0"
},
"conflict": {
"nette/di": "<3.0.3",
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Session.php
Expand Up @@ -134,7 +134,7 @@ function (string $message) use (&$e): void {
}

$this->initialize();
$this->onStart($this);
Nette\Utils\Arrays::invoke($this->onStart, $this);
}


Expand Down Expand Up @@ -361,7 +361,7 @@ public function clean(): void
return;
}

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

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

0 comments on commit 0c70c95

Please sign in to comment.