Skip to content

Commit dd29ff1

Browse files
committed
In PHP 8.4, if a parameter has a default value of null, its type must be explicitly nullable
1 parent cf90bb9 commit dd29ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/Source/CAS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function __construct(array $info, array $config)
122122
* @param \SimpleSAML\Utils\HTTP|null $httpUtils Optional HTTP utilities instance to use
123123
* @return void
124124
*/
125-
protected function initHttpUtils(Utils\HTTP $httpUtils = null): void
125+
protected function initHttpUtils(?Utils\HTTP $httpUtils = null): void
126126
{
127127
if ($httpUtils !== null) {
128128
$this->httpUtils = $httpUtils;

0 commit comments

Comments
 (0)