Skip to content

Commit 037d224

Browse files
committed
why does phpstan think this is necessary?
1 parent ce44e00 commit 037d224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/Extension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public function buildShared(array $visited = []): void
385385
logger()->info('Shared extension [' . $this->getName() . '] was already built, skipping (' . $this->getName() . '.so)');
386386
return;
387387
}
388-
if (Config::getExt($this->getName(), 'type') === 'addon') {
388+
if ((string) Config::getExt($this->getName(), 'type') === 'addon') {
389389
return;
390390
}
391391
logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)');

0 commit comments

Comments
 (0)