Problem/Motivation

The create function has a comma too many in the static function.

  public static function create(ContainerInterface $container) {
    return new static(
      $container->get('flood_unblock.flood_unblock_manager'),
      $container->get('database'),
      $container->get('date.formatter'),
    );
  }

Steps to reproduce

Enable the module.

Proposed resolution

Remove comma.

Comments

dutchyoda created an issue. See original summary.

dutchyoda’s picture

Here is a patch that removes the comma.

fabianderijk’s picture

Status: Active » Fixed

This is fixed in version 3.1.1. Thanks for the patch, I already fixed this before uploading. Sorry for the credits not being there.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.