Commit e1524056 authored by Sascha Grossenbacher's avatar Sascha Grossenbacher Committed by Chris Pliakas
Browse files

Issue #2304103 by Berdir: Fixed type hint on ConfigFactoryInterface.

parent 53477cf9
Loading
Loading
Loading
Loading
+3 −3
Changes for src/Form/RebuildForm.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

namespace Drupal\composer_manager\Form;

use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Form\FormInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -29,9 +29,9 @@ class RebuildForm implements FormInterface, ContainerInjectionInterface {
  /**
   * Constructs a \Drupal\composer_manager\Form\RebuildForm object.
   *
   * @param \Drupal\Core\Config\ConfigFactory $config_factory
   * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
   */
  public function __construct(ConfigFactory $config_factory) {
  public function __construct(ConfigFactoryInterface $config_factory) {
    $this->config = $config_factory->get('composer_manager.settings');
  }