Fixed "new static" is unsafe
This commit is contained in:
parent
0c2504c4c7
commit
9557ca17d5
7 changed files with 9 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue