Commit 20d8b259 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Adaptation php8.4

parent 8887fae0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ class ShibFactory
     * @param array|null $moduleOptions
     * @return Shib
     */
    public function __invoke(ContainerInterface $container, string $requestedName, array $moduleOptions = null)
    public function __invoke(ContainerInterface $container, string $requestedName, ?array $moduleOptions = null)
    {
        /** @var ShibService $shibService */
        $shibService = $container->get(ShibService::class);
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ class Usurpation extends AbstractStorage
     * @param UserMapper|null $mapper
     * @return self
     */
    public function setMapper(UserMapper $mapper = null): self
    public function setMapper(?UserMapper $mapper = null): self
    {
        $this->mapper = $mapper;
        return $this;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ class UsurpationFactory
     * @param array|null $moduleOptions
     * @return Usurpation
     */
    public function __invoke(ContainerInterface $container, string $requestedName, array $moduleOptions = null)
    public function __invoke(ContainerInterface $container, string $requestedName, ?array $moduleOptions = null)
    {
        /** @var UserMapper $mapper */
        $mapper = $container->get('zfcuser_user_mapper');