Commit 42799ed8 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Adaptation php8.4

parent 59ea239f
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/UnicaenApp/Controller/Plugin/AppInfosFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ class AppInfosFactory implements FactoryInterface
        return $this->__invoke($helperPluginManager);
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        $options = $container->get('unicaen-app_module_options'); /* @var $options ModuleOptions */

+1 −1
Changes for src/UnicaenApp/Controller/Plugin/LdapGroupServiceFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class LdapGroupServiceFactory implements FactoryInterface
        return $this->__invoke($pluginManager, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        return new LdapGroupService($container->get('ldap_group_service'));
    }
+1 −1
Changes for src/UnicaenApp/Controller/Plugin/LdapPeopleServiceFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class LdapPeopleServiceFactory implements FactoryInterface
        return $this->__invoke($pluginManager, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        return new LdapPeopleService($container->get('ldap_people_service'));
    }
+1 −1
Changes for src/UnicaenApp/Controller/Plugin/LdapStructureServiceFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class LdapStructureServiceFactory implements FactoryInterface
        return $this->__invoke($pluginManager, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        return new LdapStructureService($container->get('ldap_structure_service'));
    }
+1 −1
Changes for src/UnicaenApp/Controller/Plugin/MessengerPluginFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class MessengerPluginFactory implements FactoryInterface
        return $this->__invoke($helperPluginManager, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        /** @var Messenger $messengerViewHelper */
        $messengerViewHelper = $container->get('ViewHelperManager')->get('messenger');
Loading