aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/container/ContainerBuilder.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/container/ContainerBuilder.php')
-rw-r--r--application/container/ContainerBuilder.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/container/ContainerBuilder.php b/application/container/ContainerBuilder.php
index bfe93501..2e8c1ee3 100644
--- a/application/container/ContainerBuilder.php
+++ b/application/container/ContainerBuilder.php
@@ -105,7 +105,10 @@ class ContainerBuilder
105 }; 105 };
106 106
107 $container['formatterFactory'] = function (ShaarliContainer $container): FormatterFactory { 107 $container['formatterFactory'] = function (ShaarliContainer $container): FormatterFactory {
108 return new FormatterFactory($container->conf, $container->loginManager->isLoggedIn()); 108 return new FormatterFactory(
109 $container->conf,
110 $container->loginManager->isLoggedIn()
111 );
109 }; 112 };
110 113
111 $container['pageCacheManager'] = function (ShaarliContainer $container): PageCacheManager { 114 $container['pageCacheManager'] = function (ShaarliContainer $container): PageCacheManager {