Skip to content

Commit 14d431c

Browse files
committed
Bump dependencies & fix explicit nullables
1 parent 5c0ea0d commit 14d431c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
"php": "^8.1",
3838
"ext-krb5": ">=1.1.5",
3939

40-
"simplesamlphp/assert": "^1.2.0",
41-
"simplesamlphp/composer-module-installer": "^1.3.4",
42-
"simplesamlphp/simplesamlphp": "^2.2.0",
43-
"simplesamlphp/simplesamlphp-module-ldap": "^2.3.6",
40+
"simplesamlphp/assert": "~1.8.1",
41+
"simplesamlphp/composer-module-installer": "~1.3.6",
42+
"simplesamlphp/simplesamlphp": "^2.4.0",
43+
"simplesamlphp/simplesamlphp-module-ldap": "^2.4.6",
4444
"symfony/http-foundation": "^6.4.0"
4545
},
4646
"require-dev": {
47-
"simplesamlphp/simplesamlphp-test-framework": "^1.7.9"
47+
"simplesamlphp/simplesamlphp-test-framework": "^1.9.2"
4848
},
4949
"support": {
5050
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-negotiate/issues",

src/Auth/Source/Negotiate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public function authenticate(array &$state): void
246246
}
247247

248248

249-
private function doAuthentication(KRB5NegotiateAuth $auth, string $hash = null): bool
249+
private function doAuthentication(KRB5NegotiateAuth $auth, ?string $hash = null): bool
250250
{
251251
if ($this->enforceChannelBinding === true && ($hash === null)) {
252252
throw new Error\Exception(

tests/src/Controller/NegotiateControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ public function authenticate(array &$state): void
271271
// stub
272272
}
273273

274-
public static function getById(string $authId, string $type = null): ?Source
274+
public static function getById(string $authId, ?string $type = null): ?Source
275275
{
276276
return null;
277277
}

0 commit comments

Comments
 (0)