Fixed "new static" is unsafe

This commit is contained in:
Kyle Huynh 2023-06-06 11:37:11 -04:00
parent 0c2504c4c7
commit 9557ca17d5
7 changed files with 9 additions and 6 deletions

View file

@ -35,7 +35,7 @@ class SettingsForm extends ConfigFormBase {
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* The factory for configuration objects.
*/
public function __construct(ConfigFactoryInterface $config_factory) {
final public function __construct(ConfigFactoryInterface $config_factory) {
$this->setConfigFactory($config_factory);
}