Skip to content

Commit 8c8cb70

Browse files
committed
phpstan fix
1 parent f09c18e commit 8c8cb70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SPC/builder/Extension.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace SPC\builder;
66

7+
use SPC\builder\unix\UnixBuilderBase;
78
use SPC\exception\EnvironmentException;
89
use SPC\exception\SPCException;
910
use SPC\exception\ValidationException;
@@ -454,7 +455,9 @@ public function buildUnixShared(): void
454455
if (!file_exists($soFile)) {
455456
throw new ValidationException("extension {$this->getName()} build failed: {$soFile} not found", validation_module: "Extension {$this->getName()} build");
456457
}
457-
$this->builder->deployBinary($soFile, $soFile, false);
458+
/** @var UnixBuilderBase $builder */
459+
$builder = $this->builder;
460+
$builder->deployBinary($soFile, $soFile, false);
458461
}
459462

460463
/**

0 commit comments

Comments
 (0)