Skip to content
Snippets Groups Projects

Closes #3436255

Closed mondrake requested to merge issue/drupal-3436255:3436255-fix-return-typhinting into 11.x
19 files
+ 19
19
Compare changes
  • Side-by-side
  • Inline
Files
19
@@ -15,7 +15,7 @@ class CacheContextsPass implements CompilerPassInterface {
*
* Collects the cache contexts into the cache_contexts parameter.
*/
public function process(ContainerBuilder $container) {
public function process(ContainerBuilder $container): void {
$cache_contexts = [];
foreach (array_keys($container->findTaggedServiceIds('cache.context')) as $id) {
if (!str_starts_with($id, 'cache_context.')) {
Loading