Skip to content

Commit 0774e0c

Browse files
committed
Keep backward compatibility in AuthenticationInterface
1 parent 545061a commit 0774e0c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Authentication/Authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Authentication implements AuthenticationInterface
2626
/**
2727
* {@inheritdoc}
2828
*/
29-
public function authenticate(): bool
29+
public function authenticate()
3030
{
3131
return false;
3232
}

Authentication/AuthenticationInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ interface AuthenticationInterface
1919
/**
2020
* @return bool `true` if the current user was successfully authenticated within CKFinder.
2121
*/
22-
public function authenticate(): bool;
22+
public function authenticate();
2323
}

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
],
1212
"require": {
1313
"php": ">=8.1.0",
14-
"symfony/http-kernel": "^7.0",
15-
"symfony/event-dispatcher": "^7.0",
16-
"symfony/http-foundation": "^7.0",
17-
"symfony/framework-bundle": "^7.0",
18-
"symfony/form": "^7.0",
19-
"symfony/console": "^7.0",
20-
"symfony/mime": "^7.0",
21-
"symfony/yaml": "^7.0",
14+
"symfony/http-kernel": "^6.0|^7.0",
15+
"symfony/event-dispatcher": "^6.0|^7.0",
16+
"symfony/http-foundation": "^6.0|^7.0",
17+
"symfony/framework-bundle": "^6.0|^7.0",
18+
"symfony/form": "^6.0|^7.0",
19+
"symfony/console": "^6.0|^7.0",
20+
"symfony/mime": "^6.0|^7.0",
21+
"symfony/yaml": "^6.0|^7.0",
2222
"pimple/pimple": "~3.0",
23-
"monolog/monolog": "^2.0|^3.0",
23+
"monolog/monolog": "^3.0",
2424
"league/flysystem": "^3.0",
2525
"league/flysystem-aws-s3-v3": "^3.0",
2626
"league/flysystem-azure-blob-storage": "^3.0",

0 commit comments

Comments
 (0)