mirror of
https://github.com/danog/file.git
synced 2024-11-26 11:54:54 +01:00
Require parallel 0.1.4 and fix code style
This commit is contained in:
parent
f2f21ef0c0
commit
089684ea00
@ -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",
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user