Skip to content

Commit 402ede3

Browse files
committed
PHP 7 compatibility: Changed return types with null
1 parent 0189e27 commit 402ede3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"jefferson49/webtrees-common": ">=1.2.7",
13+
"jefferson49/webtrees-common": ">=1.2.8",
1414
"stevenmaguire/oauth2-dropbox": "dev-Remove-scope-from-getAccessToken",
1515
"league/oauth2-client": "=2.8.0",
1616
"league/oauth2-github": "=3.1.1",

composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/LoginWithAuthorizationProviderAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ private function resizeUserData(string $name, string $value, bool $add_flash_mes
478478
*
479479
* @return User
480480
*/
481-
private function findUserByAuthorizationProviderId(string $provider_name, string $authorization_provider_id): User|null
481+
private function findUserByAuthorizationProviderId(string $provider_name, string $authorization_provider_id): ?User
482482
{
483483
$users = Functions::getAllUsers();
484484

0 commit comments

Comments
 (0)