Skip to content

Commit fb7727e

Browse files
authored
Remove deprecations (#101)
* Remove deprecated config setting enable_authenticator_manager * Add return types
1 parent a445fbd commit fb7727e

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/ci/files/config/packages/security.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
security:
2-
enable_authenticator_manager: true
3-
42
providers:
53
pimcore_admin:
64
id: Pimcore\Security\User\UserProvider

src/Proxy/Adapter/Remote/ObjectAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(private readonly object $remoteClassOrInstance)
2828
}
2929

3030
/** @throws BadMethodCallException */
31-
public function call(string $wrappedClass, string $method, array $params = [])
31+
public function call(string $wrappedClass, string $method, array $params = []): mixed
3232
{
3333
return $this->remoteClassOrInstance->{$method}(...$params);
3434
}

src/Proxy/Adapter/Remote/ObjectAdapterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
interface ObjectAdapterInterface extends AdapterInterface
2626
{
2727
/** @throws BadMethodCallException */
28-
public function call(string $wrappedClass, string $method, array $params = []);
28+
public function call(string $wrappedClass, string $method, array $params = []): mixed;
2929
}

src/Proxy/Adapter/Remote/StrictObjectAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(private readonly object $remoteClassOrInstance, priv
4040
}
4141

4242
/** @throws BadMethodCallException */
43-
public function call(string $wrappedClass, string $method, array $params = [])
43+
public function call(string $wrappedClass, string $method, array $params = []): mixed
4444
{
4545
return $this->remoteClassOrInstance->{$method}(...$params);
4646
}

0 commit comments

Comments
 (0)