diff --git a/lib/Worker/DefaultWorkerFactory.php b/lib/Worker/DefaultWorkerFactory.php index 785581e..83dabb8 100644 --- a/lib/Worker/DefaultWorkerFactory.php +++ b/lib/Worker/DefaultWorkerFactory.php @@ -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) ); } }