File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Drupal \os2forms_fasit \Commands ;
3+ namespace Drupal \os2forms_fasit \Drush \ Commands ;
44
55use Drupal \os2forms_fasit \Helper \FasitHelper ;
66use Drush \Commands \DrushCommands ;
7+ use Symfony \Component \DependencyInjection \ContainerInterface ;
78
89/**
9- * Test commands for fasit .
10+ * A Drush commandfile .
1011 */
11- class FasitTestCommands extends DrushCommands {
12+ final class FasitTestCommand extends DrushCommands {
1213
1314 /**
14- * Constructor .
15+ * Constructs a FasitTestCommand object .
1516 */
1617 public function __construct (
1718 private readonly FasitHelper $ helper ,
1819 ) {
20+ parent ::__construct ();
21+ }
22+
23+ /**
24+ * {@inheritdoc}
25+ */
26+ public static function create (ContainerInterface $ container ) {
27+ return new static (
28+ $ container ->get (FasitHelper::class),
29+ );
1930 }
2031
2132 /**
You can’t perform that action at this time.
0 commit comments