@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | ?string $comment = null, |
22 | 22 | ?string $namespace = null, |
23 | 23 | private readonly bool $isDomain = false, |
24 | - ) { |
|
24 | + ){ |
|
25 | 25 | parent::__construct($config, $name, $comment, $namespace); |
26 | 26 | } |
27 | 27 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $this->class->addConstant('SINGLETONS', [])->setProtected(); |
42 | 42 | $this->class->addConstant('DEPENDENCIES', [])->setProtected(); |
43 | 43 | |
44 | - if ($this->isDomain) { |
|
44 | + if ($this->isDomain){ |
|
45 | 45 | $this->class->addConstant('INTERCEPTORS', [])->setProtected(); |
46 | 46 | $this->namespace->addUse(CoreInterface::class); |
47 | 47 | $this->class->getConstant('SINGLETONS')->setValue([ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | 'alias' => $alias, |
25 | 25 | '--description' => 'My sample command description', |
26 | 26 | ]; |
27 | - if ($alias === null) { |
|
27 | + if ($alias === null){ |
|
28 | 28 | unset($input['alias']); |
29 | 29 | } |
30 | 30 |
@@ -48,11 +48,11 @@ |
||
48 | 48 | 'alias' => $this->alias ?? \strtolower(\preg_replace('/(?<!^)[A-Z]/', ':$0', $this->name)), |
49 | 49 | ]); |
50 | 50 | |
51 | - foreach ($this->arguments as $argument) { |
|
51 | + foreach ($this->arguments as $argument){ |
|
52 | 52 | $declaration->addArgument($argument); |
53 | 53 | } |
54 | 54 | |
55 | - foreach ($this->options as $option) { |
|
55 | + foreach ($this->options as $option){ |
|
56 | 56 | $declaration->addOption($option); |
57 | 57 | } |
58 | 58 |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | ?string $namespace = null, |
23 | 23 | private readonly ?string $alias = null, |
24 | 24 | private readonly ?string $description = null, |
25 | - ) { |
|
25 | + ){ |
|
26 | 26 | parent::__construct($config, $name, $comment, $namespace); |
27 | 27 | } |
28 | 28 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | 'name' => $this->alias, |
70 | 70 | ]; |
71 | 71 | |
72 | - if ($this->description) { |
|
72 | + if ($this->description){ |
|
73 | 73 | $commandDefinition['description'] = $this->description; |
74 | 74 | } |
75 | 75 |