diff --git a/src/CpuCoreCounter.php b/src/CpuCoreCounter.php index 1b6babe..f34463e 100644 --- a/src/CpuCoreCounter.php +++ b/src/CpuCoreCounter.php @@ -13,8 +13,6 @@ namespace Fidry\CpuCounter; -use function function_exists; - final class CpuCoreCounter { /** @@ -54,10 +52,6 @@ public function getCount(): int */ private function findCount(): int { - if (!function_exists('proc_open')) { - return 1; - } - foreach ($this->finders as $finder) { $cores = $finder->find();