1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-30 04:39:01 +01:00

Fix ternary associativity

This commit is contained in:
Aaron Piotrowski 2017-12-08 11:45:13 -06:00
parent 4b8cb791c2
commit 8c8c3123cb
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -23,8 +23,7 @@ class DefaultWorkerFactory implements WorkerFactory {
}
return new WorkerProcess(
\getenv("AMP_PHP_BINARY") ?:
\defined("AMP_PHP_BINARY") ? \AMP_PHP_BINARY : null
\getenv("AMP_PHP_BINARY") ?: (\defined("AMP_PHP_BINARY") ? \AMP_PHP_BINARY : null)
);
}
}