Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: consolidate Navigation and navigation #43

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion module/Olcs/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,6 @@
'CookieDeleteCookieNamesProvider' => CookieService\DeleteCookieNamesProviderFactory::class,
ProcessingService\DashboardProcessingService::class => ProcessingService\DashboardProcessingServiceFactory::class,
'Olcs\InputFilter\EbsrPackInput' => \Olcs\InputFilter\EbsrPackFactory::class,
'navigation' => Laminas\Navigation\Service\DefaultNavigationFactory::class,
'Olcs\Navigation\DashboardNavigation' => Olcs\Navigation\DashboardNavigationFactory::class,
Olcs\Controller\Listener\Navigation::class => Olcs\Controller\Listener\NavigationFactory::class,
'QaFormProvider' => QaService\FormProviderFactory::class,
Expand Down Expand Up @@ -1478,7 +1477,7 @@
),
'invokables' => array(
'generatePeopleList' => \Olcs\View\Helper\GeneratePeopleList::class,
'tmCheckAnswersChangeLink' => \Olcs\View\Helper\TmCheckAnswersChangeLink::class,

Check failure on line 1480 in module/Olcs/config/module.config.php

View workflow job for this annotation

GitHub Actions / static-analysis / PHPStan - 7.4

Class Olcs\View\Helper\TmCheckAnswersChangeLink not found.

Check failure on line 1480 in module/Olcs/config/module.config.php

View workflow job for this annotation

GitHub Actions / static-analysis / Psalm - 7.4

UndefinedClass

module/Olcs/config/module.config.php:1480:43: UndefinedClass: Class, interface or enum named Olcs\View\Helper\TmCheckAnswersChangeLink does not exist (see https://psalm.dev/019)
)
),
'view_manager' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __invoke(ContainerInterface $container, $requestedName, array $o
$authService = $container->get(AuthorizationService::class);
$scriptFactory = $container->get(ScriptFactory::class);
$formHelper = $container->get(FormHelperService::class);
$navigation = $container->get('Navigation');
$navigation = $container->get('navigation');
$formElementManager = $container->get('FormElementManager');
$viewHelperManager = $container->get('ViewHelperManager');
$dataServiceManager = $container->get('DataServiceManager');
Expand Down
Loading