From 04a506ee7d2204a724fa8f5f3e9540cfcc433e81 Mon Sep 17 00:00:00 2001 From: szymek Date: Mon, 17 Feb 2014 18:17:36 +0100 Subject: [PATCH] Update BCryptPasswordEncoder.php --- .../Component/Security/Core/Encoder/BCryptPasswordEncoder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/Security/Core/Encoder/BCryptPasswordEncoder.php b/src/Symfony/Component/Security/Core/Encoder/BCryptPasswordEncoder.php index 9a3ecdb68a..5a0f12261c 100644 --- a/src/Symfony/Component/Security/Core/Encoder/BCryptPasswordEncoder.php +++ b/src/Symfony/Component/Security/Core/Encoder/BCryptPasswordEncoder.php @@ -29,6 +29,7 @@ class BCryptPasswordEncoder extends BasePasswordEncoder * * @param integer $cost The algorithmic cost that should be used * + * @throws \RuntimeException When no BCrypt encoder is available * @throws \InvalidArgumentException if cost is out of range */ public function __construct($cost)