We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef16fbf commit 18c4f93Copy full SHA for 18c4f93
1 file changed
src/Workflow/Task/AssemblyTargetTask.php
@@ -11,17 +11,24 @@
11
12
final readonly class AssemblyTargetTask implements TaskInterface
13
{
14
+ /**
15
+ * @var non-empty-string
16
+ */
17
+ public string $sfxPathname;
18
+
19
20
21
22
+ public string $targetPathname;
23
24
public function __construct(
- /**
- * @var non-empty-string
- */
- public string $sfxPathname,
- public string $targetPathname,
25
+ string $sfxPathname,
26
+ string $targetPathname,
27
public TargetInterface $target,
- ) {}
28
+ ) {
29
+ $this->targetPathname = Path::normalize($targetPathname);
30
+ $this->sfxPathname = Path::normalize($sfxPathname);
31
+ }
32
33
public function __invoke(Configuration $config): void
34
0 commit comments