Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42cca5c

Browse filesBrowse files
Nowfel2501nicolas-grekas
authored andcommitted
Improve readability of disallow_search_engine_index condition
1 parent b63dec2 commit 42cca5c
Copy full SHA for 42cca5c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎DependencyInjection/FrameworkExtension.php

Copy file name to clipboardExpand all lines: DependencyInjection/FrameworkExtension.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ static function (ChildDefinition $definition, AsPeriodicTask|AsCronTask $attribu
735735
$container->getDefinition('config_cache_factory')->setArguments([]);
736736
}
737737

738-
if (!$config['disallow_search_engine_index'] ?? false) {
738+
if (!$config['disallow_search_engine_index']) {
739739
$container->removeDefinition('disallow_search_engine_index_response_listener');
740740
}
741741

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.