From 8f2c308e3a5330b7924634edd7aa38eec97a4114 Mon Sep 17 00:00:00 2001 From: tg666 Date: Thu, 10 Dec 2020 05:23:45 +0100 Subject: [PATCH] Updated version of `68publishers/doctrine-bridge` --- composer.json | 2 +- src/Common/DbalType/Password/PasswordType.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 7f4aeb8..eb43696 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": "^7.3", - "68publishers/doctrine-bridge": "^0.1", + "68publishers/doctrine-bridge": "^0.1.1", "68publishers/doctrine-persistence": "^0.2", "68publishers/doctrine-query-objects": "^0.1", "68publishers/smart-nette-component": "^0.2", diff --git a/src/Common/DbalType/Password/PasswordType.php b/src/Common/DbalType/Password/PasswordType.php index 6e189de..c9831c5 100644 --- a/src/Common/DbalType/Password/PasswordType.php +++ b/src/Common/DbalType/Password/PasswordType.php @@ -18,11 +18,10 @@ final class PasswordType extends StringType implements ContainerAwareTypeInterfa /** * @internal - * @param \Nette\DI\Container $container * - * @return void + * {@inheritDoc} */ - public function setContainer(Container $container): void + public function setContainer(Container $container, array $context = []): void { self::setPasswordHashStrategy($container->getByType(PasswordHashStrategyInterface::class)); }