why does phpstan think this is necessary?

This commit is contained in:
henderkes 2025-12-18 12:38:17 +01:00
parent ce44e00bd4
commit 037d224fd7

View File

@ -385,7 +385,7 @@ class Extension
logger()->info('Shared extension [' . $this->getName() . '] was already built, skipping (' . $this->getName() . '.so)'); logger()->info('Shared extension [' . $this->getName() . '] was already built, skipping (' . $this->getName() . '.so)');
return; return;
} }
if (Config::getExt($this->getName(), 'type') === 'addon') { if ((string) Config::getExt($this->getName(), 'type') === 'addon') {
return; return;
} }
logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)'); logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)');