mirror of
https://github.com/danog/parallel.git
synced 2024-11-26 20:34:40 +01:00
Fix ternary associativity
This commit is contained in:
parent
4b8cb791c2
commit
8c8c3123cb
@ -23,8 +23,7 @@ class DefaultWorkerFactory implements WorkerFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return new WorkerProcess(
|
return new WorkerProcess(
|
||||||
\getenv("AMP_PHP_BINARY") ?:
|
\getenv("AMP_PHP_BINARY") ?: (\defined("AMP_PHP_BINARY") ? \AMP_PHP_BINARY : null)
|
||||||
\defined("AMP_PHP_BINARY") ? \AMP_PHP_BINARY : null
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user