Skip to content

Commit 8393cab

Browse files
committed
PHP 8.4 deprecations: Fix implicit nullables
1 parent 8909407 commit 8393cab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SimpleSAML/Metadata/MetaDataStorageHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function __construct()
8686
* @return string|array The auto-generated metadata property.
8787
* @throws \Exception If the metadata cannot be generated automatically.
8888
*/
89-
public function getGenerated(string $property, string $set, string $overrideHost = null): string|array
89+
public function getGenerated(string $property, string $set, ?string $overrideHost = null): string|array
9090
{
9191
// first we check if the user has overridden this property in the metadata
9292
try {

0 commit comments

Comments
 (0)