Skip to content

Commit

Permalink
Merge pull request #78 from cliffordvickrey/feature/update-constant-t…
Browse files Browse the repository at this point in the history
…ime-encoding

add updates for PHP 8.4
  • Loading branch information
paragonie-security authored Jan 3, 2025
2 parents e2f9f17 + c6e74d9 commit 54318fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"require": {
"php": "^7.4|^8",
"ext-json": "*",
"paragonie/constant_time_encoding": "^2",
"paragonie/constant_time_encoding": "^2|^3",
"psr/http-message": "^1|^2",
"opis/json-schema": "^2.3"
},
Expand Down
2 changes: 1 addition & 1 deletion src/CSPBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ public function requireSRIFor(string $directive): self
public function saveSnippet(
string $outputFile,
string $format = self::FORMAT_NGINX,
callable $hookBeforeSave = null
?callable $hookBeforeSave = null
): bool {
if ($this->needsCompile) {
$this->compile();
Expand Down

0 comments on commit 54318fc

Please sign in to comment.