diff --git a/composer.json b/composer.json index 47f4a07..d97fe71 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "require": { "amphp/amp": "^2", "amphp/byte-stream": "^1", - "amphp/parallel": "^0.1" + "amphp/parallel": "^0.1.4" }, "require-dev": { "amphp/phpunit-util": "^1", diff --git a/lib/Internal/EioPoll.php b/lib/Internal/EioPoll.php index f68d934..421f4a4 100644 --- a/lib/Internal/EioPoll.php +++ b/lib/Internal/EioPoll.php @@ -37,7 +37,7 @@ class EioPoll { Loop::disable($this->watcher); - Loop::setState(self::class, new class ($this->watcher) { + Loop::setState(self::class, new class($this->watcher) { private $watcher; private $driver; diff --git a/lib/Internal/UvPoll.php b/lib/Internal/UvPoll.php index 54d55c2..b355a2b 100644 --- a/lib/Internal/UvPoll.php +++ b/lib/Internal/UvPoll.php @@ -27,7 +27,7 @@ class UvPoll { Loop::disable($this->watcher); - Loop::setState(self::class, new class ($this->watcher) { + Loop::setState(self::class, new class($this->watcher) { private $watcher; private $driver; diff --git a/lib/StatCache.php b/lib/StatCache.php index 335a53d..3c55b5a 100644 --- a/lib/StatCache.php +++ b/lib/StatCache.php @@ -29,7 +29,7 @@ class StatCache { Loop::unreference($watcher); - Loop::setState(self::class, new class ($watcher) { + Loop::setState(self::class, new class($watcher) { private $watcher; private $driver;