From 8e145a951914ad46a759d660849cf6288fc84738 Mon Sep 17 00:00:00 2001 From: Binyamin Yawitz <316103+byawitz@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:03:59 -0400 Subject: [PATCH] refactor: global to registry --- app/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/init.php b/app/init.php index 68bba360e8..2d458330f9 100644 --- a/app/init.php +++ b/app/init.php @@ -504,7 +504,7 @@ $console = new Dependency(); $project = new Dependency(); $clients = new Dependency(); $servers = new Dependency(); -$registry = new Dependency(); +$register = new Dependency(); $connections = new Dependency(); $localeCodes = new Dependency(); $getProjectDB = new Dependency(); @@ -883,7 +883,7 @@ $authentication return new Authentication(); }); -$registry +$register ->setName('registry') ->setCallback(function () use (&$registry): Registry { return $registry; @@ -1350,7 +1350,7 @@ $container->set($console); $container->set($project); $container->set($clients); $container->set($servers); -$container->set($registry); +$container->set($register); $container->set($connections); $container->set($localeCodes); $container->set($dbForProject);