Skip to content

Commit 44223f0

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: CS: typo fix [Security] make secret required for DefaultLoginRateLimiter
2 parents ec77d94 + b068cf9 commit 44223f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ private function addAssetMapperSection(ArrayNodeDefinition $rootNode, callable $
860860
->prototype('scalar')->end()
861861
->example(['*/assets/build/*', '*/*_.scss'])
862862
->end()
863-
// boolean called defaulting to true
863+
// boolean called defaulting to true
864864
->booleanNode('exclude_dotfiles')
865865
->info('If true, any files starting with "." will be excluded from the asset mapper')
866866
->defaultTrue()

src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class DefaultLoginRateLimiter extends AbstractRequestRateLimiter
3434
/**
3535
* @param non-empty-string $secret A secret to use for hashing the IP address and username
3636
*/
37-
public function __construct(RateLimiterFactory $globalFactory, RateLimiterFactory $localFactory, #[\SensitiveParameter] string $secret = '')
37+
public function __construct(RateLimiterFactory $globalFactory, RateLimiterFactory $localFactory, #[\SensitiveParameter] string $secret)
3838
{
3939
if (!$secret) {
4040
throw new InvalidArgumentException('A non-empty secret is required.');

0 commit comments

Comments
 (0)