diff --git a/app/code/Magento/Deploy/Process/Queue.php b/app/code/Magento/Deploy/Process/Queue.php index 1fb8828844b2e..1b3944a884e4c 100644 --- a/app/code/Magento/Deploy/Process/Queue.php +++ b/app/code/Magento/Deploy/Process/Queue.php @@ -336,6 +336,9 @@ private function isDeployed(Package $package) if ($this->isCanBeParalleled()) { if ($package->getState() === null) { $pid = $this->getPid($package); + + // When $pid comes back as null the child process for this package has not yet started; prevents both + // hanging until timeout expires (which was behaviour in 2.2.x) and the type error from strict_types if ($pid === null) { return false; }